[Jifty-commit] r2489 - Jifty-DBI/trunk/t

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jan 11 05:54:45 EST 2007


Author: agentz
Date: Thu Jan 11 05:54:44 2007
New Revision: 2489

Modified:
   Jifty-DBI/trunk/t/01records.t

Log:
[t/01records.t]
- fixed a "use of uninitialized value" warning in the
  tests.

Modified: Jifty-DBI/trunk/t/01records.t
==============================================================================
--- Jifty-DBI/trunk/t/01records.t	(original)
+++ Jifty-DBI/trunk/t/01records.t	Thu Jan 11 05:54:44 2007
@@ -71,7 +71,7 @@
         }
         ok (!eval { $rec->set_some_unexpected_column( 'foo' )}, "Can't call nonexistent columns");
         ($val, $msg) = $rec->_set(column =>'some_unexpected_column', value =>'foo');
-        ok(!$val, "$msg");
+        ok(!$val, defined $msg ? $msg : "");
 
 
 # Validate truncation on update


More information about the Jifty-commit mailing list