File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,13 +44,15 @@ class NativeBuildResolverTest {
4444 val project = ProjectBuilder .builder().withProjectDir(tmp).build()
4545 val info = NativeBuildInfo (project.layout.buildDirectory, NativeBuildVariant .OSX_X64 )
4646
47- assertTrue(info.nativeResourcesDir.endsWith(" osx-x86_64/native-resources" ))
48- assertTrue(info.jarNativeResourcesDir.endsWith(" osx-x86_64/native-resources/META-INF/native" ))
47+ assertTrue(info.nativeResourcesDir.replace(' \\ ' , ' /' )
48+ .endsWith(" osx-x86_64/native-resources" ))
49+ assertTrue(info.jarNativeResourcesDir.replace(' \\ ' , ' /' )
50+ .endsWith(" osx-x86_64/native-resources/META-INF/native" ))
4951 assertEquals(" osx-x86_64" , info.mavenClassifier)
5052 assertEquals(" osx_x86-64" , info.targetPlatform)
5153 }
5254
53- @Test fun resolver_wraps_variants () {
55+ @Test fun resolverWrapsVariants () {
5456 val project = ProjectBuilder .builder().build()
5557 val resolver = NativeBuildResolver (project.layout.buildDirectory)
5658
You can’t perform that action at this time.
0 commit comments