Skip to content

Commit

Permalink
Update YamlFileTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Brov3r committed Aug 7, 2024
1 parent 5c3115d commit 5cb5c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/avrix/utils/YamlFileTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ public class YamlFileTest {
*/
@Test
void testLoadFromJar() throws IOException, URISyntaxException {
URL resourceUrl = YamlFileTest.class.getClassLoader().getResource("yaml/testYamlJAR.jar");
URL resourceUrl = YamlFileTest.class.getClassLoader().getResource("yaml/testYamlJar.jar");
System.out.println("[#] Test load YAML from jar: " + resourceUrl);
if (resourceUrl == null) {
throw new FileNotFoundException("testYamlJAR.jar not found in resources");
throw new FileNotFoundException("testYamlJar.jar not found in resources");
}

File jarFile = new File(resourceUrl.toURI());
Expand Down

0 comments on commit 5cb5c92

Please sign in to comment.