From: Daniel Westermann-Clark Date: Fri, 28 Jul 2006 04:55:37 +0000 (+0000) Subject: Minor test cleanup (I think I'm losing my mind) X-Git-Tag: v0.07002~59 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8070a15198fd37ee7ddcffbc1857a687b3d773b6;p=dbsrgits%2FDBIx-Class.git Minor test cleanup (I think I'm losing my mind) --- 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');