Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed May 2, 2024
1 parent 5396f36 commit 33044e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/test/test.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ public void testNonExistant() {
String zimFile = "non_existant.zim";
try {
TestArchive archive1 = new TestArchive(zimFile);
fail("ERROR: Archive created with invalid Zim file!");
fail("ERROR: Archive created with invalid ZIM file!");
} catch (Exception e) {
assertEquals("error 2 opening file \"" + zimFile + "\"", e.getMessage());
assertEquals("Error opening as a split file: " + zimFile, e.getMessage());
}
}

Expand Down

0 comments on commit 33044e4

Please sign in to comment.