1 source [file dirname [info script]]/testing.tcl
3 # Test number detection
21 foreach {str exp} $good_testcases {
22 test expr-base-1.[incr i] "expr conversion" [list expr [list $str]] $exp
25 # JimTCL specifically does not adhere to the octal default for numbers starting with zero
26 test expr-base-2.1 {expr conversion jim specific} -constraints jim -body {
40 foreach str $bad_testcases {
41 test expr-base-3.[incr i] "expr conversion failure" -returnCodes error -body [list expr $str] -match glob -result "*"