4 use Test::More tests => 3;
7 use_ok('SQL::Abstract') or BAIL_OUT( "$@" );
9 my $sqla = SQL::Abstract->create(1);
14 [ '==', [-name => qw/me id/], [ -alias => [-name => qw/me foo/], 'bar' ] ]
17 } qr/^'-alias' is not a valid clause in a where AST/, "Error from invalid part in where";
22 [ '~', [-name => qw/me id/], [ -alias => [-name => qw/me foo/], 'bar' ] ]
25 } qr/^'~' is not a valid operator/,
26 "Error from invalid operator in where";