From: Rafael Kitover Date: Mon, 10 May 2010 19:13:23 +0000 (-0400) Subject: another syntax fuck up X-Git-Tag: 0.07000~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1bccc8fc742e325bb0a0367c69b06a0532c39acc;p=dbsrgits%2FDBIx-Class-Schema-Loader.git another syntax fuck up --- diff --git a/t/lib/dbixcsl_common_tests.pm b/t/lib/dbixcsl_common_tests.pm index 782d985..c439224 100644 --- a/t/lib/dbixcsl_common_tests.pm +++ b/t/lib/dbixcsl_common_tests.pm @@ -1629,7 +1629,7 @@ sub drop_tables { $dbh->do($_) for map { $drop_auto_inc->(@$_) } @tables_auto_inc; $dbh->do("DROP TABLE $_") for (@tables, @tables_rescan); - foreach my $data_type_table (@{ $self->{data_type_tests}{table_names} || {} }) { + foreach my $data_type_table (@{ $self->{data_type_tests}{table_names} || [] }) { $dbh->do("DROP TABLE $data_type_table"); }