File tree 1 file changed +2
-2
lines changed
src/test/kotlin/com/coder/gateway/settings
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ import com.coder.gateway.services.CoderSettingsState
4
4
import com.coder.gateway.util.OS
5
5
import com.coder.gateway.util.getOS
6
6
import com.coder.gateway.util.withPath
7
- import org.junit.Assert.assertNotEquals
8
7
import java.net.URL
9
8
import java.nio.file.Path
10
9
import kotlin.test.Test
11
10
import kotlin.test.assertContains
12
11
import kotlin.test.assertEquals
12
+ import kotlin.test.assertNotEquals
13
13
14
14
internal class CoderSettingsTest {
15
15
@Test
@@ -99,7 +99,7 @@ internal class CoderSettingsTest {
99
99
assertEquals(Path .of(expected).toAbsolutePath(), settings.binPath(url, true ).parent)
100
100
assertEquals(Path .of(expected).toAbsolutePath(), settings2.binPath(url, true ).parent)
101
101
102
- assertNotEquals(" foo-bar.baz" , settings.binPath(url).fileName)
102
+ assertNotEquals(" foo-bar.baz" , settings.binPath(url).fileName.toString() )
103
103
assertEquals(" foo-bar.baz" , settings2.binPath(url).fileName.toString())
104
104
}
105
105
You can’t perform that action at this time.
0 commit comments