summaryrefslogtreecommitdiff
path: root/devel-utf8/tests/it_text.t
diff options
context:
space:
mode:
authorNathan Gass2012-03-22 18:23:53 +0000
committerNathan Gass2012-03-22 18:23:53 +0000
commit338cda9000356404cf2865d61787607acf67fe98 (patch)
tree3924b3e2e12a5d5ea3b40890477d5e070498543c /devel-utf8/tests/it_text.t
parente0a89b408041d25b18090bfc3d596627ea930507 (diff)
downloaditools-338cda9000356404cf2865d61787607acf67fe98.tar.gz
itools-338cda9000356404cf2865d61787607acf67fe98.tar.bz2
itools-338cda9000356404cf2865d61787607acf67fe98.zip
last remains of wrong branch itools/live/devel-utf8 removed
Diffstat (limited to 'devel-utf8/tests/it_text.t')
-rwxr-xr-xdevel-utf8/tests/it_text.t18
1 files changed, 0 insertions, 18 deletions
diff --git a/devel-utf8/tests/it_text.t b/devel-utf8/tests/it_text.t
deleted file mode 100755
index bc4d5c0..0000000
--- a/devel-utf8/tests/it_text.t
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/www/server/bin/php
-<?php
-
-$obj->x = "attr";
-$obj->y->z = "attr";
-
-is(it_text::transmogrify(""), "");
-is(it_text::transmogrify("foo"), "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");
-is(it_text::transmogrify("{foo}X", array('foo' => 1)), "1X");
-is(it_text::transmogrify("{foo}X{foo}", array('foo' => 1)), "1X1");
-is(it_text::transmogrify("X{foo}", array('foo' => 1)), "X1");
-is(it_text::transmogrify("X{foo}{bar}", array('foo' => 1, 'bar' => 2)), "X12");
-is(it_text::transmogrify("X{foo}", array('foo' => "&")), "X&");
-is(it_text::transmogrify("X{x}", $obj), "Xattr");
-is(it_text::transmogrify("X{y.z}", $obj), "Xattr");