Skip to content

Commit

Permalink
test: MultipleClassLoaderTest fails on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Oct 3, 2023
1 parent 6d563d4 commit d4f4dc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/sqlite/MultipleClassLoaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ public void multipleClassLoader() throws Throwable {
}

// find the slf4j-api jar
String targetSlf4j = Paths.get("org", "slf4j", "slf4j-api").toString();
Optional<String> slf4jApi =
Arrays.stream(stringUrls)
.filter(s -> s.contains("org/slf4j/slf4j-api/"))
.filter(s -> s.contains(targetSlf4j))
.findFirst();
if (!slf4jApi.isPresent()) fail("Couldn't find slf4j-api");

Expand Down

0 comments on commit d4f4dc2

Please sign in to comment.