summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_dbi.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/it_dbi.t b/test/it_dbi.t
index 73d1e1f..0305166 100755
--- a/test/it_dbi.t
+++ b/test/it_dbi.t
@@ -174,6 +174,12 @@ is(
"update"
);
+$record->update(['flag' => 1]);
+is($record->flag, true, "use integer 1 to set flag to true");
+
+$record->update(['flag' => 0]);
+is($record->flag, false, "use integer 0 to set flag to false");
+
is(
$record->update(['x' => 18], ['x' => 17]),
1,