From 68f227537c7f80666bbab855dca2cbd1ddeabbb6 Mon Sep 17 00:00:00 2001 From: sebres Date: Mon, 13 May 2024 16:39:30 +0000 Subject: clock.test: amend to hotfix [9889f96f4da77e3b] - ensemble created implicitely now --- tests/clock.test | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/clock.test b/tests/clock.test index ef41ad5..0144512 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -273,6 +273,8 @@ proc ::testClock::registry { cmd path key } { # Base test cases: +# no lazy creation of clock-ensemble (interim, bug [9889f96f4da77e3b], [31fd84270644f67d]), +# so ensemble created implicitely in init.tcl test clock-0.1 "initial: auto-loading of ensemble and stubs on demand" -setup { set i [interp create]; # because clock can be used somewhere, test it in new interp: } -body { @@ -286,7 +288,7 @@ test clock-0.1 "initial: auto-loading of ensemble and stubs on demand" -setup { } } -cleanup { interp delete $i -} -result {ens:0 ens:1 stubs:0 stubs:1} +} -result {ens:1 ens:1 stubs:0 stubs:1} test clock-0.1a "initial: safe interpreter shares clock command with parent" -setup { set i [interp create] $i eval {set sci [interp create -safe]} @@ -301,7 +303,7 @@ test clock-0.1a "initial: safe interpreter shares clock command with parent" -se } } -cleanup { interp delete $i -} -result {ens:0 ens:1 stubs:0 stubs:1} +} -result {ens:1 ens:1 stubs:0 stubs:1} test clock-0.2 "initial: loading of format/locale does not overwrite interp state (errorInfo)" -setup { # be sure - we have no cached locale/msgcat, etc: -- cgit v0.12