-#!/usr/bin/perl -I. -w
+#!/usr/bin/perl
use strict;
-use vars qw($TESTING);
-$TESTING = 1;
-use Test;
+use warnings;
+use Test::More;
-# use a BEGIN block so we print our plan before SQL::Abstract is loaded
-BEGIN { plan tests => 4 }
-use SQL::Abstract;
+plan tests => 4;
-sub is {
- my ($got, $expect, $msg) = @_;
- ok($got eq $expect) or
- warn "got [${got}]\ninstead of [${expect}]\nfor test ${msg}\n\n";
-}
+use SQL::Abstract;
my $sa = new SQL::Abstract;