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 843b7cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,4 @@ workflows:
- caffeine:lincheckTest
- caffeine:isolatedTest
- caffeine:junitTest
- simulator:run
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 843b7cc

Please sign in to comment.