Wrap columns() in an array ref for better is_deeply() diagnostics.
Michael G Schwern [Tue, 4 Mar 2008 16:29:45 +0000 (17:29 +0100)]
t/cdbi-t/15-accessor.t

index ad76ad1..ad28a63 100644 (file)
@@ -176,8 +176,8 @@ eval {
 
 {
        is_deeply(
-               Actor->columns('Essential'),
-               Actor->columns('Primary'),
+               [Actor->columns('Essential')],
+               [Actor->columns('Primary')],
                "Actor has no specific essential columns"
        );
        ok(Actor->find_column('nonpersistent'), "nonpersistent is a column");