summaryrefslogtreecommitdiff
path: root/tests/it_dbi.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it_dbi.t')
-rwxr-xr-xtests/it_dbi.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index c9e7d9d..ca39f1f 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -140,13 +140,13 @@ is(
is(
$record->update(array('x' => 18), array('x' => 17)),
1,
- "return affected rows",
+ "return affected rows"
);
is(
$record->update(array('x' => 18), array('x' => 17)),
0,
- "return zero affected rows",
+ "return zero affected rows"
);
$record->update(array('-x' => 'POW(2,2) * 10'));
@@ -166,14 +166,14 @@ is (
$record->update(array('foo' => NULL));
is (
- $record->_set('foo' => ""),
+ $record->_set(array('foo' => "")),
"SET `foo`=''",
'update: _set optimization with NULL => ""'
);
$record->update(array('foo' => "bar"));
$record->update(array('foo' => ""));
is (
- $record->_set('foo' => NULL),
+ $record->_set(array('foo' => NULL)),
"SET `foo`=NULL",
'update: _set optimization with "" => NULL'
);