Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e81bc9f63c17b8d80eb28831d40d513385b3e1a5
Ticket: 1017151fffffffffffffffffffffffffffffffff
Correct wrong/misleading errorInfo reporting
User & Date: robert_seeger on 2004-08-29 12:49:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=1081558
    
    The file I attached breaks the test 'tcltest-2.8', due to
    the change in output on an error. The following rewrite of
    the test (which only changes the regexp) makes all tests in
    that file again pass.
    
    test tcltest-2.8 {tcltest -verbose 'error'} {
        -constraints {unixOrPc}
        -body {
    set result [slave msg test.tcl -verbose error]
    list $result $msg
        }
        -result {errorInfo\(body\): foo.*errorCode\(body\): 9}
        -match regexp
    }
    
    
  2. login: "robert_seeger"
  3. mimetype: "text/plain"
  4. username: "robert_seeger"