From e86a9a9ffc312e1f1b239ea4ec3d2b613a065a10 Mon Sep 17 00:00:00 2001 From: David Flatz Date: Mon, 8 Oct 2018 15:34:35 +0200 Subject: improve tests and styling --- test/it_dbi.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/it_dbi.t b/test/it_dbi.t index 6b89db2..a257105 100755 --- a/test/it_dbi.t +++ b/test/it_dbi.t @@ -366,7 +366,8 @@ is($r->key3, 'c', 'dynamic column for record with empty dyncols whould be correc $r->clear(false); is($r->select(['-key1 IS NOT' => 'NULL']), 1, 'only one entry has a value for key1'); -is($r->select(['-key2 IS' => 'NULL']), 2, "two entries don't have a value for key1"); +is($r->select(['-key1 IS' => 'NULL']), 2, "two entries don't have a value for key1"); +is($r->select(['key1' => null]), 2, "same behaviour without - syntax"); $r->read(1); $r->update(['key1' => null]); is($r->key1, null, 'setting dyncol to null should make it be null'); -- cgit v1.2.3