Update tests to use maybe_plan.
[dbsrgits/SQL-Translator.git] / t / 27sqlite-parser.t
index db4c40c..8f1eac5 100644 (file)
@@ -2,13 +2,19 @@
 # vim: set ft=perl:
 
 use strict;
-use Test::More 'no_plan'; #tests => 180;
+use Test::More;
+use Test::SQL::Translator qw(maybe_plan);
 use FindBin qw/$Bin/;
 
 use SQL::Translator;
-use SQL::Translator::Parser::SQLite 'parse';
 use SQL::Translator::Schema::Constants;
 
+BEGIN {
+    maybe_plan(5,
+        'SQL::Translator::Parser::SQLite');
+}
+SQL::Translator::Parser::SQLite->import('parse');
+
 my $file = "$Bin/data/sqlite/create.sql";
 
 {