use Test::More qw/no_plan/;
use Data::Dumper;
-ok (Foobar->add(1,2,3)==6);
+my $r = Foobar->add(1,2,3);
+ok($r = 6);
ok 1;
use SQL;
use Data::Dumper;
-ok 1;
-
-SQL::CONNECT("dbi:Pg:dbname=test;host=localhost;port=5432");
-
-my $r = SELECT * FROM TRACK;
-
-diag Dumper $r;
-#ok ($r);
-
-ok 1;
+ok (1, 'parsed ok');
+SKIP: {
+ skip "need to setup db", 2;
+ ok(SQL::CONNECT("dbi:Pg:dbname=test;host=localhost;port=5432"));
+ my $r = SELECT * FROM TRACK;
+ diag Dumper $r;
+ ok ($r);
+};