Skip to content

Commit 732b8ad

Browse files
author
Zhen
committed
Fix red build due to syntax change in server
1 parent 4f2f9d3 commit 732b8ad

File tree

1 file changed

+1
-3
lines changed
  • driver/src/test/java/org/neo4j/driver/v1/integration

1 file changed

+1
-3
lines changed

driver/src/test/java/org/neo4j/driver/v1/integration/ErrorIT.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public void shouldThrowHelpfulSyntaxError() throws Throwable
4848
{
4949
// Expect
5050
exception.expect( ClientException.class );
51-
exception.expectMessage( "Invalid input 'i': expected <init> (line 1, column 1 (offset: 0))\n" +
52-
"\"invalid statement\"\n" +
53-
" ^" );
51+
exception.expectMessage( "Invalid input 'i'" );
5452

5553
// When
5654
StatementResult result = session.run( "invalid statement" );

0 commit comments

Comments
 (0)