summaryrefslogtreecommitdiffstats
path: root/tests/clock.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-28 11:08:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-28 11:08:46 (GMT)
commit33b2c943235d9343253e4dfc60cfb80ca0e064d6 (patch)
tree1fdd72c0c52d3ff402f214a7d35626e9e3558c52 /tests/clock.test
parent82f2bed5fe26cb420a472abc95b92120a84e02cf (diff)
parent8d49123e73e1b0bbbf97cd212e88960772a9e166 (diff)
downloadtcl-33b2c943235d9343253e4dfc60cfb80ca0e064d6.zip
tcl-33b2c943235d9343253e4dfc60cfb80ca0e064d6.tar.gz
tcl-33b2c943235d9343253e4dfc60cfb80ca0e064d6.tar.bz2
Merge 8.6
Diffstat (limited to 'tests/clock.test')
-rw-r--r--tests/clock.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/clock.test b/tests/clock.test
index 4283020..37c8066 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -35470,7 +35470,7 @@ test clock-33.5 {clock clicks tests, millisecond timing test} {
expr {
($end > $start) && (($end - $start) <= 60) ?
"ok" :
- "test should have taken 0-60 ms, actually took [expr $end - $start]"}
+ "test should have taken 0-60 ms, actually took [expr {$end - $start}]"}
} {ok}
test clock-33.5a {clock tests, millisecond timing test} {
# This test can fail on a system that is so heavily loaded that
@@ -35486,7 +35486,7 @@ test clock-33.5a {clock tests, millisecond timing test} {
expr {
($end > $start) && (($end - $start) <= 60) ?
"ok" :
- "test should have taken 0-60 ms, actually took [expr $end - $start]"}
+ "test should have taken 0-60 ms, actually took [expr {$end - $start}]"}
} {ok}
test clock-33.6 {clock clicks, milli with too much abbreviation} {
list [catch { clock clicks ? } msg] $msg
@@ -36930,10 +36930,10 @@ test clock-61.2 {overflow of a wide integer on output} {*}{
}
test clock-61.3 {near-miss overflow of a wide integer on output} {
clock format 0x7fffffffffffffff -format %s -gmt true
-} [expr 0x7fffffffffffffff]
+} [expr {0x7fffffffffffffff}]
test clock-61.4 {near-miss overflow of a wide integer on output} {
clock format -0x8000000000000000 -format %s -gmt true
-} [expr -0x8000000000000000]
+} [expr {-0x8000000000000000}]
test clock-62.1 {Bug 1902423} {*}{
-setup {::tcl::clock::ClearCaches}