summaryrefslogtreecommitdiff
path: root/tests/it_dbi.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/it_dbi.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/it_dbi.t')
-rwxr-xr-xtests/it_dbi.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index 0c30768..9ffadc7 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -37,7 +37,7 @@ is(
is(
$record->select(),
3,
- "select without parameters select all",
+ "select without parameters select all"
);
is(
@@ -169,7 +169,7 @@ foreach (new it_dbi_test as $id => $record)
is($count, 3, "Iterator without select");
$count = 0;
-foreach (new it_dbi_test('foo <>' => "") as $id => $record)
+foreach (new it_dbi_test(array('foo <>' => "")) as $id => $record)
{
$count++;
is($record->_key, $id, "Iterator id $id");