Skip to content

Commit

Permalink
additional test coverage for #1347
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Dec 3, 2023
1 parent c5fab38 commit c807118
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ public void configSource_jar_invalid() {
assertThrows(ConfigException.Parse.class, () ->
configSource().get(URI.create("extra-invalid.conf"), classloader));

assertThrows(ConfigException.BadPath.class, () ->
configSource().get(URI.create("jar:invalid"), classloader));

var explicit = getJarResource("extra-invalid.conf");
assertThrows(ConfigException.Parse.class, () -> configSource().get(explicit, classloader));
}
Expand Down

0 comments on commit c807118

Please sign in to comment.