summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");