X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F06order_by.t;h=7d1213e9f88a7411048e6f7a333cae9b98f12159;hb=ca4f826a37ccb5194b0b5b9b4190b4007d647d9c;hp=4236e70091551589585c6fc6e29f06c3952c4a7b;hpb=46dc2f3e47d514cd376003cea2df63222c492b0b;p=dbsrgits%2FSQL-Abstract.git diff --git a/t/06order_by.t b/t/06order_by.t index 4236e70..7d1213e 100644 --- a/t/06order_by.t +++ b/t/06order_by.t @@ -107,10 +107,10 @@ my @cases = my $sql = SQL::Abstract->new; my $sqlq = SQL::Abstract->new({quote_char => '`'}); -for my $case( @cases) { +for my $case (@cases) { my ($stat, @bind); - ($stat, @bind) = $sql->_order_by($case->{given}); + ($stat, @bind) = $sql->where(undef, $case->{given}); is_same_sql_bind ( $stat, \@bind, @@ -118,7 +118,7 @@ for my $case( @cases) { $case->{bind} || [], ); - ($stat, @bind) = $sqlq->_order_by($case->{given}); + ($stat, @bind) = $sqlq->where(undef, $case->{given}); is_same_sql_bind ( $stat, \@bind,