From 665e10fe5b444663f3a1e513f543455be79fa865 Mon Sep 17 00:00:00 2001 From: Pontus Melke Date: Wed, 29 Jul 2020 15:23:42 +0200 Subject: [PATCH] Update assertion so that that test passes both with new and old parser --- .../java/org/neo4j/shell/MainIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" )); }