From: Michael G Schwern Date: Tue, 4 Mar 2008 16:29:45 +0000 (+0100) Subject: Wrap columns() in an array ref for better is_deeply() diagnostics. X-Git-Tag: v0.08240~541^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed022eb5f8eec93a5df226d3922501827d2bf7d6;p=dbsrgits%2FDBIx-Class.git Wrap columns() in an array ref for better is_deeply() diagnostics. --- diff --git a/t/cdbi-t/15-accessor.t b/t/cdbi-t/15-accessor.t index ad76ad1..ad28a63 100644 --- a/t/cdbi-t/15-accessor.t +++ b/t/cdbi-t/15-accessor.t @@ -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");