Make QueryBuilderTest#fieldWithParenthesizedValues less specific
This appears to be an incompatibility with Antlr 3.2 which is used internally at Google. Change-Id: Ia829c8a275dd662e219cf16f7781ed06e83746f8
This commit is contained in:
@@ -70,9 +70,7 @@ public class QueryBuilderTest extends GerritBaseTests {
|
||||
|
||||
@Test
|
||||
public void fieldWithParenthesizedValues() throws Exception {
|
||||
assertThatParseException("a:(foo bar)")
|
||||
.hasMessageThat()
|
||||
.isEqualTo("line 1:2 no viable alternative at input '('");
|
||||
assertThatParseException("a:(foo bar)").hasMessageThat().contains("no viable alternative");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user