From: Rafael Kitover Date: Mon, 5 Apr 2010 20:08:48 +0000 (+0000) Subject: fix test count X-Git-Tag: v0.08121~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=468910410c83d9efe407d85a6089d20fd3735d13;p=dbsrgits%2FDBIx-Class.git fix test count --- diff --git a/t/746sybase.t b/t/746sybase.t index 6a75029..daca426 100644 --- a/t/746sybase.t +++ b/t/746sybase.t @@ -569,10 +569,10 @@ SQL $row->update({ amount => undef }); } 'updated a money value to NULL'; - lives_ok { + lives_and { my $null_amount = $rs->find($row->id)->amount; - is ($null_amount, undef, 'updated money value to NULL round-trip'); - }; + is $null_amount, undef; + } 'updated money value to NULL round-trip'; # Test computed columns and timestamps $schema->storage->dbh_do (sub {