summaryrefslogtreecommitdiff
path: root/tests/autoprepend.t
diff options
context:
space:
mode:
authorChristian Schneider2008-11-09 13:40:38 +0000
committerChristian Schneider2008-11-09 13:40:38 +0000
commit2373f73d5d607be77af8e18622fdad9559979386 (patch)
treed7dfe0fe8bb86b352eecb8966f78c9ec41243b72 /tests/autoprepend.t
parentfda5c71b5a3a2f0db439ea7c6a995eda38c8a629 (diff)
downloaditools-2373f73d5d607be77af8e18622fdad9559979386.tar.gz
itools-2373f73d5d607be77af8e18622fdad9559979386.tar.bz2
itools-2373f73d5d607be77af8e18622fdad9559979386.zip
Convert tests back to old syntax for consistency of itools syntax
Diffstat (limited to 'tests/autoprepend.t')
-rwxr-xr-xtests/autoprepend.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/autoprepend.t b/tests/autoprepend.t
index e91996f..8f4f52f 100755
--- a/tests/autoprepend.t
+++ b/tests/autoprepend.t
@@ -12,29 +12,29 @@ $GLOBALS['it_text']->statictext = array(
is(
T('foo'),
"bar {v1}",
- "simple T()",
+ "simple T()"
);
is(
T('foo', 'en'),
"qux {v1}",
- "simple T() with language",
+ "simple T() with language"
);
is(
- T('foo', 'v1' => "gna<bber"),
+ T('foo', array('v1' => "gna<bber")),
"bar gna&lt;bber",
- "T() with quoted values",
+ "T() with quoted values"
);
is(
- T('foo', 'v1' => "gna<bber", 'en'),
+ T('foo', array('v1' => "gna<bber"), 'en'),
"qux gna&lt;bber",
- "T() with with quoted values and language",
+ "T() with with quoted values and language"
);
is(
- T('foo', 'en', 'v1' => "gna<bber"),
+ T('foo', 'en', array('v1' => "gna<bber")),
"qux gna&lt;bber",
- "T() with with language and quoted values",
+ "T() with with language and quoted values"
);