diff options
Diffstat (limited to 'tests/it_dbi.t')
-rwxr-xr-x | tests/it_dbi.t | 6 |
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" +); |