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:
Han-Wen Nienhuys
2019-03-26 15:57:56 +01:00
parent 425bb772bb
commit 0c8769cf2f

View File

@@ -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