mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@94 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -35,7 +35,7 @@ public class BooleanValuesTest extends TestCase {
|
||||
|
||||
String text = output(stmtList);
|
||||
|
||||
Assert.assertEquals("SELECT TRUE, true, FALSE, false;", text);
|
||||
Assert.assertEquals("SELECT true, true, false, false;", text);
|
||||
}
|
||||
|
||||
private String output(List<SQLStatement> stmtList) {
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ public class ComparisonFunctionsAndOperatorsTest extends TestCase {
|
||||
|
||||
String text = output(stmtList);
|
||||
|
||||
Assert.assertEquals("SELECT 1 IS TRUE, 0 IS FALSE, NULL IS UNKNOWN;", text);
|
||||
Assert.assertEquals("SELECT 1 IS true, 0 IS false, NULL IS UNKNOWN;", text);
|
||||
}
|
||||
|
||||
public void test_10() throws Exception {
|
||||
|
||||
@@ -35,7 +35,7 @@ public class LogicalOperatorsTest extends TestCase {
|
||||
|
||||
String text = output(stmtList);
|
||||
|
||||
Assert.assertEquals("SELECT 10 IS TRUE;", text);
|
||||
Assert.assertEquals("SELECT 10 IS true;", text);
|
||||
}
|
||||
|
||||
public void test_1() throws Exception {
|
||||
@@ -46,7 +46,7 @@ public class LogicalOperatorsTest extends TestCase {
|
||||
|
||||
String text = output(stmtList);
|
||||
|
||||
Assert.assertEquals("SELECT -10 IS TRUE;", text);
|
||||
Assert.assertEquals("SELECT -10 IS true;", text);
|
||||
}
|
||||
|
||||
public void test_2() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user