X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746sybase.t;h=daca42667c3aff59031498af4d126c4e3158ab01;hb=b75e2132f3b951b2e8e11c9aa649b4ee225c1b05;hp=6a75029af529ab3c0dd00b5408192ca6fb2a8c47;hpb=ca507a2f6ea8ec84b455b8843bd161e3e5fac458;p=dbsrgits%2FDBIx-Class.git 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 {