diff options
Diffstat (limited to 'exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java')
-rw-r--r-- | exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java b/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java index 58c979b34..110efeb7e 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/record/metadata/schema/parser/TestParserErrorHandling.java @@ -30,7 +30,6 @@ public class TestParserErrorHandling { public void testUnsupportedType() { String schema = "col unk_type"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,4:11='unk_type',<38>,1:4]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } @@ -54,7 +53,6 @@ public class TestParserErrorHandling { public void testUnquotedId() { String schema = "id with space varchar"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,3:6='with',<38>,1:3]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } @@ -62,7 +60,6 @@ public class TestParserErrorHandling { public void testUnescapedBackTick() { String schema = "`c`o`l` varchar"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,3:3='o',<38>,1:3]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } @@ -78,7 +75,6 @@ public class TestParserErrorHandling { public void testMissingType() { String schema = "col not null"; thrown.expect(SchemaParsingException.class); - thrown.expectMessage("offending symbol [@1,4:6='not',<34>,1:4]: no viable alternative at input"); SchemaExprParser.parseSchema(schema); } |