[Bast-commits] r9346 - DBIx-Class/0.08/trunk/t
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Tue May 11 15:44:15 GMT 2010
Author: caelum
Date: 2010-05-11 16:44:15 +0100 (Tue, 11 May 2010)
New Revision: 9346
Modified:
DBIx-Class/0.08/trunk/t/74mssql.t
Log:
clearer logic
Modified: DBIx-Class/0.08/trunk/t/74mssql.t
===================================================================
--- DBIx-Class/0.08/trunk/t/74mssql.t 2010-05-11 14:47:57 UTC (rev 9345)
+++ DBIx-Class/0.08/trunk/t/74mssql.t 2010-05-11 15:44:15 UTC (rev 9346)
@@ -199,9 +199,9 @@
$storage->sql_maker;
my $rno_detected =
- ($storage->{_sql_maker_opts}{limit_dialect} eq 'RowNumberOver');
+ ($storage->{_sql_maker_opts}{limit_dialect} eq 'RowNumberOver') ? 1 : 0;
- ok ((not ($have_rno xor $rno_detected)),
+ ok (($have_rno == $rno_detected),
'row_number() over support detected correctly');
}
}
More information about the Bast-commits
mailing list