From: Ron "Quinn" Straight <quinnfazigu@gmail.org>
Date: Sat, 9 May 2009 01:59:20 +0000 (+0000)
Subject: Changed test of lob values from is to ok on an eq expr, to avoid a huge got/expected... 
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0821ae59c74c48a248c5c441956dfdcfa7bf7268;p=dbsrgits%2FDBIx-Class-Historic.git

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.
---

diff --git a/t/73oracle.t b/t/73oracle.t
index fe69024..2d70a50 100644
--- a/t/73oracle.t
+++ b/t/73oracle.t
@@ -180,10 +180,9 @@ is($st->pkid1, 55, "Oracle Auto-PK without trigger: First primary key set manual
 		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" );
 		}
 	}
 }