diff --git a/cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java b/cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java index 50c0ca92..222c977a 100644 --- a/cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java +++ b/cypher-shell/src/integration-test/java/org/neo4j/shell/MainIntegrationTest.java @@ -421,7 +421,7 @@ public void shouldHandleInvalidCypherStatementsFromFileInteractively() throws Ex // then exception.expect( ClientException.class ); - exception.expectMessage( "Invalid input 'T':" ); + exception.expectMessage( "Invalid input 'T" ); shell.execute( ":source " + fileFromResource( "invalid.cypher" )); }