File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/test/java/io/zenwave360/sdk/utils Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2828 <exclusions >
2929 <exclusion >
3030 <groupId >org.slf4j</groupId >
31- <artifactId >* </artifactId >
31+ <artifactId >slf4j-nop </artifactId >
3232 </exclusion >
3333 <exclusion >
3434 <groupId >dev.jbang</groupId >
Original file line number Diff line number Diff line change @@ -60,11 +60,10 @@ void testLoadJBangDependencies() {
6060 List <String > repos = List .of ("https://repo1.maven.org/maven2/" );
6161
6262 // When
63- MavenLoader .loadJBangDependencies (dependencies , repos );
63+ ClassLoader projectClassLoader = MavenLoader .loadJBangDependencies (dependencies , repos );
6464
6565 // Then
66- ClassLoader currentClassLoader = Thread .currentThread ().getContextClassLoader ();
67- Assertions .assertInstanceOf (URLClassLoader .class , currentClassLoader );
66+ Assertions .assertInstanceOf (URLClassLoader .class , projectClassLoader );
6867 }
6968
7069 @ Test
You can’t perform that action at this time.
0 commit comments