提交 f01b7e43 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use Java 7 compatible test character

上级 84dd808d
...@@ -337,7 +337,7 @@ public class TestStatement extends TestDb { ...@@ -337,7 +337,7 @@ public class TestStatement extends TestDb {
assertEquals("\"Test\"", statBC.enquoteIdentifier("Test", false)); assertEquals("\"Test\"", statBC.enquoteIdentifier("Test", false));
assertEquals("\"TODAY\"", statBC.enquoteIdentifier("TODAY", false)); assertEquals("\"TODAY\"", statBC.enquoteIdentifier("TODAY", false));
// Other lower case characters don't have upper case mappings // Other lower case characters don't have upper case mappings
assertEquals("\u00AA", statBC.enquoteIdentifier("\u00AA", false)); assertEquals("\u02B0", statBC.enquoteIdentifier("\u02B0", false));
assertTrue(statBC.isSimpleIdentifier("SOME_ID")); assertTrue(statBC.isSimpleIdentifier("SOME_ID"));
assertFalse(statBC.isSimpleIdentifier("SOME ID")); assertFalse(statBC.isSimpleIdentifier("SOME ID"));
...@@ -345,7 +345,7 @@ public class TestStatement extends TestDb { ...@@ -345,7 +345,7 @@ public class TestStatement extends TestDb {
assertFalse(statBC.isSimpleIdentifier("Test")); assertFalse(statBC.isSimpleIdentifier("Test"));
assertFalse(statBC.isSimpleIdentifier("TODAY")); assertFalse(statBC.isSimpleIdentifier("TODAY"));
// Other lower case characters don't have upper case mappings // Other lower case characters don't have upper case mappings
assertTrue(statBC.isSimpleIdentifier("\u00AA")); assertTrue(statBC.isSimpleIdentifier("\u02B0"));
stat.close(); stat.close();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论