Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit fbb4b9a

Browse files
committed
fix native tests
Signed-off-by: Denys Smirnov <[email protected]>
1 parent 00a490c commit fbb4b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native/src/test/java/bblfsh/DriverTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public void processInvalid() throws DriverException, CloseException {
7474
driver.processOne();
7575

7676
final String result = new String(out.toByteArray());
77-
assertThat(result).isEqualTo(
78-
"{\"status\":\"fatal\",\"errors\":[\"Unrecognized token 'garbage': was expecting ('true', 'false' or 'null')\\n at [Source: (String)\\\"garbage\\\"; line: 1, column: 15]\"]}\n");
77+
assertThat(result).contains("{\"status\":\"fatal\",\"errors\":[\"");
78+
assertThat(result).contains("Unrecognized token 'garbage'");
7979
}
8080

8181
@Test

0 commit comments

Comments
 (0)