Skip to content

Commit

Permalink
[WFLY-19435]change in line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeshnas93 committed Jun 25, 2024
1 parent bc95f67 commit e66db0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ private boolean checkResponse(CloseableHttpResponse response, boolean fail) thro
return false;
}

Assert.assertNotEquals("Expected to find 'Hello' on line 0 of:\n" + lines, -1, lines.get(1).indexOf("Hello"));
Assert.assertNotEquals("Expected to find 'Kafka' on line 1 of:\n" + lines, -1, lines.get(2).indexOf("Kafka"));
Assert.assertNotEquals("Expected to find 'Hello' on line 0 of:\n" + lines, -1, lines.get(0).indexOf("Hello"));
Assert.assertNotEquals("Expected to find 'Kafka' on line 1 of:\n" + lines, -1, lines.get(1).indexOf("Kafka"));
for (int i = 2; i < lines.size(); i++) {
Assert.assertNotEquals(
"Expected to find 'Hello' or 'Kafka' on line " + i +
Expand Down

0 comments on commit e66db0b

Please sign in to comment.