From cb367fb0cd8cc7f0401b7fb326f104d7a31aead3 Mon Sep 17 00:00:00 2001
From: Nathan Gass
Date: Tue, 28 Feb 2023 11:09:08 +0100
Subject: add tests that old values still work as expected

---
 test/it_dbi.t | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'test')

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,
-- 
cgit v1.2.3