summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Schneider2023-03-09 14:07:17 +0100
committerChristian Schneider2023-03-09 14:07:17 +0100
commitb715a6be7b3b19f0bbd6f47336d2c014c43334ad (patch)
tree8308c863f61db94a619efea96da70f3fb15bbf21 /test
parent5a1c55cfab2ff23bd39bf1e6584b7d402655c78e (diff)
downloaditools-b715a6be7b3b19f0bbd6f47336d2c014c43334ad.tar.gz
itools-b715a6be7b3b19f0bbd6f47336d2c014c43334ad.tar.bz2
itools-b715a6be7b3b19f0bbd6f47336d2c014c43334ad.zip
Change test to check with undefined variable
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_text.t2
1 files changed, 1 insertions, 1 deletions
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");