Skip to content

Commit

Permalink
Temp: log bad resource loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Oct 16, 2023
1 parent 20cb05c commit b55badc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name: JBoss Modules CI

on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

Expand Down
3 changes: 2 additions & 1 deletion src/test/java/org/jboss/modules/ResourceRootPathsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import java.nio.file.StandardOpenOption;
import java.nio.file.attribute.BasicFileAttributes;

import java.util.List;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
Expand Down Expand Up @@ -126,7 +127,7 @@ public void testPaths() throws Exception {
}
}
}
Assert.assertEquals("Test should have checked 4 ResourceLoaders", 4, checkCount);
Assert.assertEquals("Test should have checked 4 ResourceLoaders: " + List.of(resourceLoaders), 4, checkCount);
}

private File getFileFromJarUri(URI uri) throws Exception {
Expand Down

0 comments on commit b55badc

Please sign in to comment.