while (my $x = shift @f) {
$dq = {
type => DQ_JOIN,
- join => [ $dq, $self->_table_to_dq($x) ]
+ left => $dq,
+ right => $self->_table_to_dq($x),
};
}
$dq;
use Test::More;
use Test::Warn;
use Test::Exception;
+use Data::Dumper;
use SQL::Abstract::Test import => ['is_same_sql_bind'];
);
}
else {
- $cref->();
+ unless (eval { $cref->(); 1 }) {
+ die "Unexpected exception thrown for structure:\n"
+ .Dumper($t)."Exception was: $@";
+ }
}
is_same_sql_bind(
$stmt,