X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=t%2F10-split-sql-chunk.t;fp=t%2F10-split-sql-chunk.t;h=794e794619d51e8ba30cf830dc15a57841121eb1;hp=025e9fcebedc9a8b28c373b3422196c63f5e8721;hb=55e13b19b1b782ab29e1e6c381b6c1eb1ea9103c;hpb=88a309e8b280faede9227e21c9f4c012aed31a52 diff --git a/t/10-split-sql-chunk.t b/t/10-split-sql-chunk.t index 025e9fc..794e794 100644 --- a/t/10-split-sql-chunk.t +++ b/t/10-split-sql-chunk.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More; use DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator; @@ -15,3 +15,6 @@ BEGIN END; END +is_deeply [ split_sql_chunk( 'foo', ' ', 'bar' ) ], [qw( foo bar)]; + +done_testing;