Skip to content

Commit c27a20a

Browse files
committed
Update NullCharsetTest.java
Should be "iae" and not "e"
1 parent 1ee4a1a commit c27a20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/NullCharsetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public void testDirectPathEntry()
1313
Path.of("/tmp");
1414
} catch (IllegalArgumentException iae)
1515
{
16-
if ("Null charset name".equals(e.getMessage()))
16+
if ("Null charset name".equals(iae.getMessage()))
1717
{
1818
fail("IllegalArgumentException with 'Null charset name' encountered");
1919
}

0 commit comments

Comments
 (0)