X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F57-class-dbi.t;h=26534a41328f0e26c6852ec58e573020a8916c0f;hb=e533bcddea14f0d8a2c58ce6bdc06ec82ea1de8e;hp=ace3f53f5885a95f8dfa2fcc550d9e734f1f33f4;hpb=4c0d31c125be1c212c2b984f4a4d806a61b2bd6e;p=dbsrgits%2FSQL-Translator.git diff --git a/t/57-class-dbi.t b/t/57-class-dbi.t index ace3f53..26534a4 100644 --- a/t/57-class-dbi.t +++ b/t/57-class-dbi.t @@ -23,8 +23,8 @@ use SQL::Translator::Producer::SQLite; my $view1_sql1 = [ SQL::Translator::Producer::SQLite::create_view( $view1, $create_opts ) ]; - my $view_sql_replace = [ "CREATE TEMPORARY VIEW IF NOT EXISTS view_foo AS - SELECT id, name FROM thing" ]; + my $view_sql_replace = [ 'CREATE TEMPORARY VIEW IF NOT EXISTS view_foo AS + SELECT id, name FROM thing' ]; is_deeply( $view1_sql1, $view_sql_replace, 'correct "CREATE TEMPORARY VIEW" SQL' ); my $view2 = SQL::Translator::Schema::View->new( @@ -35,7 +35,7 @@ use SQL::Translator::Producer::SQLite; my $view1_sql2 = [ SQL::Translator::Producer::SQLite::create_view( $view2, $create_opts ) ]; - my $view_sql_noreplace = [ "CREATE VIEW view_foo AS - SELECT id, name FROM thing" ]; + my $view_sql_noreplace = [ 'CREATE VIEW view_foo AS + SELECT id, name FROM thing' ]; is_deeply( $view1_sql2, $view_sql_noreplace, 'correct "CREATE VIEW" SQL' ); }