From b715a6be7b3b19f0bbd6f47336d2c014c43334ad Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 9 Mar 2023 14:07:17 +0100 Subject: Change test to check with undefined variable --- test/it_text.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/it_text.t b/test/it_text.t index bbf727b..9f2d635 100755 --- a/test/it_text.t +++ b/test/it_text.t @@ -10,7 +10,7 @@ is(it_text::transmogrify(""), ""); is(it_text::transmogrify("foo"), "foo"); $GLOBALS['foo'] = 'bar'; is(it_text::transmogrify("{foo}"), "bar"); # Value from GLOBALS -$GLOBALS['foo'] = ''; +unset($GLOBALS['foo']); is(it_text::transmogrify("{foo}"), ""); is(it_text::transmogrify("{foo}", array('foo' => 1)), "1"); is(it_text::transmogrify("{foo}{foo}", array('foo' => 1)), "11"); -- cgit v1.2.3