From 49867f2fd30037c8b87e75e9bef5c7424edfe15f Mon Sep 17 00:00:00 2001 From: sebres Date: Fri, 22 Jul 2022 19:19:26 +0000 Subject: =?UTF-8?q?correctly=20show=20the=20execution=20time=20unit=20by?= =?UTF-8?q?=20usec=20(=C2=B5s)=20if=20testing=20on=20systems=20with=20not?= =?UTF-8?q?=20utf-8=20default=20system=20encoding=20(e.=20g.=20windows)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/tcltest/tcltest.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index 72c7b94..9124699 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -2141,7 +2141,7 @@ proc tcltest::test {name description args} { if {[IsVerbose msec] || [IsVerbose usec]} { set t [expr {[clock microseconds] - $timeStart}] if {[IsVerbose usec]} { - puts [outputChannel] "++++ $name took $t μs" + puts [outputChannel] "++++ $name took $t \xB5s" } if {[IsVerbose msec]} { puts [outputChannel] "++++ $name took [expr {round($t/1000.)}] ms" -- cgit v0.12