Skip to content

Commit

Permalink
Update NullCharsetTest.java
Browse files Browse the repository at this point in the history
Should be "iae" and not "e"
  • Loading branch information
joalen committed Nov 17, 2024
1 parent 1ee4a1a commit c27a20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/NullCharsetTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public void testDirectPathEntry()
Path.of("/tmp");
} catch (IllegalArgumentException iae)
{
if ("Null charset name".equals(e.getMessage()))
if ("Null charset name".equals(iae.getMessage()))
{
fail("IllegalArgumentException with 'Null charset name' encountered");
}
Expand Down

0 comments on commit c27a20a

Please sign in to comment.