X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F06order_by.t;h=3a29b3d9a771327d9a079feeba36a0460f9b5b2c;hb=5e4361304e44378efe29ad97c4430cd5f5c0f1ba;hp=9822d6159f9e689b17ac1c1892f498ea68af4278;hpb=f267b646207361aa110bff7df661b5881b5c8319;p=scpubgit%2FQ-Branch.git diff --git a/t/06order_by.t b/t/06order_by.t index 9822d61..3a29b3d 100644 --- a/t/06order_by.t +++ b/t/06order_by.t @@ -93,6 +93,12 @@ my @cases = bind => ['test'], }, { + given => \['colA LIKE ? DESC', 'test'], + expects => ' ORDER BY colA LIKE ? DESC', + expects_quoted => ' ORDER BY colA LIKE ? DESC', + bind => ['test'], + }, + { given => [ { -asc => \['colA'] }, { -desc => \['colB LIKE ?', 'test'] }, { -asc => \['colC LIKE ?', 'tost'] }], expects => ' ORDER BY colA ASC, colB LIKE ? DESC, colC LIKE ? ASC', expects_quoted => ' ORDER BY colA ASC, colB LIKE ? DESC, colC LIKE ? ASC',