summaryrefslogtreecommitdiff
path: root/tests/it_dbi.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it_dbi.t')
-rwxr-xr-xtests/it_dbi.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index 8ef8cab..82826f1 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -92,3 +92,9 @@ is(
array(3, $rand, "quux"),
"iterate update record 3"
);
+
+is(
+ gettype($record->_key) . "/" . gettype($record->x) . "/" . gettype($record->_data['x']) . "/" . gettype($record->foo),
+ "integer/integer/integer/string",
+ "automatic type detection"
+);