summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-05-24 16:49:32 (GMT)
committersebres <sebres@users.sourceforge.net>2019-05-24 16:49:32 (GMT)
commitcb9018a721f8b149c7add1abdda5826c9385c501 (patch)
tree2156c71fc914fb99c6c1f5f6eab4cdeaf44ebb25 /tests
parent3ab1f672a4432f15afd982ad5857d67abd7e5db2 (diff)
downloadtcl-cb9018a721f8b149c7add1abdda5826c9385c501.zip
tcl-cb9018a721f8b149c7add1abdda5826c9385c501.tar.gz
tcl-cb9018a721f8b149c7add1abdda5826c9385c501.tar.bz2
fixes typo ("net" instead of outdated term "nett")
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdMZ.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cmdMZ.test b/tests/cmdMZ.test
index db72a44..e7c8e6c 100644
--- a/tests/cmdMZ.test
+++ b/tests/cmdMZ.test
@@ -378,10 +378,10 @@ test cmdMZ-6.4 {Tcl_TimeRateObjCmd: compile of script happens even with negative
list [catch {timerate "foreach a {c d e} \{" -12456} msg] $msg
} {1 {missing close-brace}}
test cmdMZ-6.5a {Tcl_TimeRateObjCmd: result format and one iteration} {
- regexp {^\d+(?:\.\d+)? \ws/# 1 # \d+(?:\.\d+)? #/sec \d+(?:\.\d+)? nett-ms$} [timerate {} 0]
+ regexp {^\d+(?:\.\d+)? \ws/# 1 # \d+(?:\.\d+)? #/sec \d+(?:\.\d+)? net-ms$} [timerate {} 0]
} 1
test cmdMZ-6.5b {Tcl_TimeRateObjCmd: result format without iterations} {
- regexp {^0 \ws/# 0 # 0 #/sec 0 nett-ms$} [timerate {} 0 0]
+ regexp {^0 \ws/# 0 # 0 #/sec 0 net-ms$} [timerate {} 0 0]
} 1
test cmdMZ-6.6 {Tcl_TimeRateObjCmd: slower commands take longer, but it remains almost the same time of measument} {
set m1 [timerate {_nrt_sleep 0} 20]