[Bast-commits] r9288 -
DBIx-Class/0.08/branches/subqueried_limit_fixes/t/inflate
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Mon May 3 16:31:19 GMT 2010
Author: ribasushi
Date: 2010-05-03 17:31:19 +0100 (Mon, 03 May 2010)
New Revision: 9288
Modified:
DBIx-Class/0.08/branches/subqueried_limit_fixes/t/inflate/datetime_mssql.t
Log:
Fix incorrect comparison
Modified: DBIx-Class/0.08/branches/subqueried_limit_fixes/t/inflate/datetime_mssql.t
===================================================================
--- DBIx-Class/0.08/branches/subqueried_limit_fixes/t/inflate/datetime_mssql.t 2010-05-02 15:40:56 UTC (rev 9287)
+++ DBIx-Class/0.08/branches/subqueried_limit_fixes/t/inflate/datetime_mssql.t 2010-05-03 16:31:19 UTC (rev 9288)
@@ -95,8 +95,8 @@
->first
);
is( $row->$col, $dt, "$type roundtrip" );
-
- is( $row->$col->nanosecond, $sample_dt->{nanosecond},
+
+ cmp_ok( $row->$col->nanosecond, '==', $sample_dt->{nanosecond},
'DateTime fractional portion roundtrip' )
if exists $sample_dt->{nanosecond};
}
More information about the Bast-commits
mailing list