From: Dagfinn Ilmari Mannsåker Date: Tue, 19 Nov 2013 18:32:42 +0000 (+0000) Subject: Actually test data types that require separate tables X-Git-Tag: 0.07038~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-Schema-Loader.git;a=commitdiff_plain;h=347cd75b3369d0160a3a83ecfa1c37ed76f2d45c Actually test data types that require separate tables --- diff --git a/Changes b/Changes index c956e37..a25b74e 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,7 @@ Revision history for Perl extension DBIx::Class::Schema::Loader - Allow coderef maps to call back into the hashref mapping code - Fix MySQL column info detection with multiple schemas (RT#82358) - Fix skip count for Oracle multi-schema tests + - Actually test data types that require separate tables 0.07037 2013-10-30 - Allow overriding individual moniker parts diff --git a/t/lib/dbixcsl_common_tests.pm b/t/lib/dbixcsl_common_tests.pm index fb5239c..d3ce079 100644 --- a/t/lib/dbixcsl_common_tests.pm +++ b/t/lib/dbixcsl_common_tests.pm @@ -2233,8 +2233,10 @@ sub setup_data_type_tests { @first_table_types = grep !/$split_off_re/, @types; } - @types = +{ map +($_, $types->{$_}), @first_table_types }, - map +{ $_, $types->{$_} }, @split_off_types; + @types = ( + +{ map +($_, $types->{$_}), @first_table_types }, + map +{ $_, $types->{$_} }, @split_off_types, + ); my $test_count = 0; my $table_num = 10000;