summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/clock.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/clock.test b/tests/clock.test
index d4f0bc9..615f3a8 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -36942,12 +36942,12 @@ test clock-67.4 {Change format %x output on global locale change [Bug 4a0c163d24
set current [msgcat::mclocale]
} -body {
msgcat::mclocale de_de
- set res [list [clock format 1 -locale current -format %x]]
+ set res [regexp {^\d{2}\.\d{2}\.\d{4}$} [clock format 1 -locale current -format %x]]
msgcat::mclocale en_uk
- lappend res [clock format 1 -locale current -format %x]
+ lappend res [regexp {^\d{2}/\d{2}/\d{4}$} [clock format 1 -locale current -format %x]]
} -cleanup {
msgcat::mclocale $current
-} -result {01.01.1970 01/01/1970}
+} -result {1 1}
test clock-67.5 {Change scan %x output on global locale change [Bug 4a0c163d24]} -setup {
package require msgcat