Skip to content

Commit

Permalink
[fc87e3bddd] Complete repair of flawed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgp committed Sep 6, 2023
2 parents 1ff39cd + d98ac60 commit 71ff6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/get.test
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test get-3.4.1 {Tcl_GetDouble with iffy numbers} {testdoubleobj deprecated} {
catch {testdoubleobj set 1 $x} x
set x
}
} {9.0}
} {{expected floating-point number but got "09" (looks like invalid octal number)}}

test get-3.5 {tcl_GetInt with numeric whitespace (i.e. '_')} testgetint {
lmap x {0_0 " 1_0" "0_2 " " 3_3 " 14__23__32___4 " 0x0_a " 0b1111_1111 " 0_07 " " 0o1_0 " " 0b_1_0 " " 0_b1_0 " _33 42_ 0_x15 0_o17 0_d19 0x_b 0o_2_0 0o2__3_4} {
Expand Down

0 comments on commit 71ff6de

Please sign in to comment.