Correctly strip lines that are all whitespace
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / 10-split-sql-chunk.t
index 025e9fc..794e794 100644 (file)
@@ -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;