Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 18f3a2e

Browse files
committed
Less fragile test.
1 parent 6aa3d6e commit 18f3a2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypher-shell/src/integration-test/java/org/neo4j/shell/commands/CypherShellVerboseIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ public void cypherWithProfileWithMemory() throws CommandException {
269269

270270
//then
271271
String actual = linePrinter.output();
272-
assertThat(actual, containsString("| Plan | Statement | Version | Planner | Runtime | Time | DbHits | Rows | Memory (Bytes) |")); // First table
273-
assertThat(actual, containsString("| Operator | Details | Estimated Rows | Rows | DB Hits | Cache H/M | Memory (Bytes) |")); // Second table
272+
assertThat(actual.replace( " ", "" ), containsString("|Plan|Statement|Version|Planner|Runtime|Time|DbHits|Rows|Memory(Bytes)|")); // First table
273+
assertThat(actual.replace( " ", "" ), containsString("|Operator|Details|EstimatedRows|Rows|DBHits|CacheH/M|Memory(Bytes)|")); // Second table
274274
}
275275

276276
@Test

0 commit comments

Comments
 (0)