fixed testcase

This commit is contained in:
wenshao
2012-07-18 08:21:52 +08:00
parent fb06c9a0b4
commit 002b2fbcee
3 changed files with 3 additions and 3 deletions
@@ -152,7 +152,7 @@ public class DMLSelectParserTest extends TestCase {
SQLStatement stmt = parser.parseStatementList().get(0);
parser.match(Token.EOF);
String output = SQLUtils.toMySqlString(stmt);
Assert.assertEquals("SELECT SQL_CACHE id1, max(id2)\nFROM tb1\nGROUP BY id1\nHAVING id1 > 10\nORDER BY id3 DESC", output);
Assert.assertEquals("SELECT SQL_CACHE id1, MAX(id2)\nFROM tb1\nGROUP BY id1\nHAVING id1 > 10\nORDER BY id3 DESC", output);
}
public void test_select_10() throws Exception {