[Bast-commits] r6188 - DBIx-Class/0.08/branches/oracle-tweaks/t

nniuq at dev.catalyst.perl.org nniuq at dev.catalyst.perl.org
Sat May 9 01:59:21 GMT 2009


Author: nniuq
Date: 2009-05-09 01:59:20 +0000 (Sat, 09 May 2009)
New Revision: 6188

Modified:
   DBIx-Class/0.08/branches/oracle-tweaks/t/73oracle.t
Log:
Changed test of lob values from is to ok on an eq expr, to avoid a huge got/expected diagnosis.  In doing so, discovered it was testing undef vs undef!  Whoops.  Fixed.


Modified: DBIx-Class/0.08/branches/oracle-tweaks/t/73oracle.t
===================================================================
--- DBIx-Class/0.08/branches/oracle-tweaks/t/73oracle.t	2009-05-09 01:50:12 UTC (rev 6187)
+++ DBIx-Class/0.08/branches/oracle-tweaks/t/73oracle.t	2009-05-09 01:59:20 UTC (rev 6188)
@@ -180,10 +180,9 @@
 		foreach my $size (qw( small large )) {
 			$id++;
 
-			lives_ok { $rs->create( { 'id' => $id, $type => $binstr{$type} } ) }
+			lives_ok { $rs->create( { 'id' => $id, $type => $binstr{$size} } ) }
 				"inserted $size $type without dying";
-
-			is( $rs->find($id)->$type, $binstr{$type}, "verified inserted $size $type" );
+			ok($rs->find($id)->$type eq $binstr{$size}, "verified inserted $size $type" );
 		}
 	}
 }




More information about the Bast-commits mailing list