X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F80unique.t;h=eebb66eb05bd7271ee68440f930b4d9a2d939cf3;hb=6095cb703bcad95a735dcc2a557371fe9060d32e;hp=7d4dd08ba48c1e8d743f96321eb06597c603f6c7;hpb=89034887963b728f979ec9185350061a827db7af;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/80unique.t b/t/80unique.t index 7d4dd08..eebb66e 100644 --- a/t/80unique.t +++ b/t/80unique.t @@ -161,7 +161,7 @@ my $row = $schema->resultset('NoPrimaryKey')->update_or_create( }, { key => 'foo_bar' } ); -is(! $row->is_changed, 1, 'update_or_create on table without primary key: row is clean'); +ok(! $row->is_changed, 'update_or_create on table without primary key: row is clean'); is($row->foo, 1, 'foo is correct'); is($row->bar, 2, 'bar is correct'); is($row->baz, 3, 'baz is correct');