From c27a20ad31373d109868c6bc74347f793fc1574c Mon Sep 17 00:00:00 2001 From: Alen Jo <45494246+joalen@users.noreply.github.com> Date: Sun, 17 Nov 2024 00:05:35 -0600 Subject: [PATCH] Update NullCharsetTest.java Should be "iae" and not "e" --- src/tests/NullCharsetTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/NullCharsetTest.java b/src/tests/NullCharsetTest.java index d0233eeb..4a1d37fd 100644 --- a/src/tests/NullCharsetTest.java +++ b/src/tests/NullCharsetTest.java @@ -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"); }