diff options
author | Christian Schneider | 2023-03-09 14:07:17 +0100 |
---|---|---|
committer | Christian Schneider | 2023-03-09 14:07:17 +0100 |
commit | b715a6be7b3b19f0bbd6f47336d2c014c43334ad (patch) | |
tree | 8308c863f61db94a619efea96da70f3fb15bbf21 /test | |
parent | 5a1c55cfab2ff23bd39bf1e6584b7d402655c78e (diff) | |
download | itools-b715a6be7b3b19f0bbd6f47336d2c014c43334ad.tar.gz itools-b715a6be7b3b19f0bbd6f47336d2c014c43334ad.tar.bz2 itools-b715a6be7b3b19f0bbd6f47336d2c014c43334ad.zip |
Change test to check with undefined variable
Diffstat (limited to 'test')
-rwxr-xr-x | test/it_text.t | 2 |
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"); |