diff options
author | sebres <sebres@users.sourceforge.net> | 2017-01-10 22:25:20 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-01-10 22:25:20 (GMT) |
commit | 7b6cd1089c2d3a6eeb8f12b106af40c18017c8f3 (patch) | |
tree | d85ca1eb9d9794c0a126d12bde28a3b8e74c744b /tests/clock.test | |
parent | 62ddcc3daa746fc8be02e6b118e0c923ec227793 (diff) | |
download | tcl-7b6cd1089c2d3a6eeb8f12b106af40c18017c8f3.zip tcl-7b6cd1089c2d3a6eeb8f12b106af40c18017c8f3.tar.gz tcl-7b6cd1089c2d3a6eeb8f12b106af40c18017c8f3.tar.bz2 |
l10n (with caching) implemented, msgcat package optimized, code review, etc.
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/clock.test b/tests/clock.test index 9e3dbd7..22b5bc1 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -18553,12 +18553,12 @@ test clock-6.8 {input of seconds} { } 9223372036854775807 test clock-6.9 {input of seconds - overflow} { - list [catch {clock scan -9223372036854775809 -format %s -gmt true} result] $result -} {1 {integer value too large to represent}} + list [catch {clock scan -9223372036854775809 -format %s -gmt true} result] $result $::errorCode +} {1 {requested date too large to represent} {CLOCK dateTooLarge}} test clock-6.10 {input of seconds - overflow} { - list [catch {clock scan 9223372036854775808 -format %s -gmt true} result] $result -} {1 {integer value too large to represent}} + list [catch {clock scan 9223372036854775808 -format %s -gmt true} result] $result $::errorCode +} {1 {requested date too large to represent} {CLOCK dateTooLarge}} test clock-6.11 {input of seconds - two values} { clock scan {1 2} -format {%s %s} -gmt true |