From e4753338d60396c00f80b494366b2869f8541944 Mon Sep 17 00:00:00 2001 From: nea Date: Fri, 13 Aug 2021 15:46:45 +0200 Subject: tests und shit --- src/jsTest/kotlin/io/PathTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jsTest/kotlin/io') diff --git a/src/jsTest/kotlin/io/PathTest.kt b/src/jsTest/kotlin/io/PathTest.kt index 73667a6..8ea577c 100644 --- a/src/jsTest/kotlin/io/PathTest.kt +++ b/src/jsTest/kotlin/io/PathTest.kt @@ -1,7 +1,7 @@ package io +import io.kotest.assertions.assertSoftly import io.kotest.core.spec.style.FunSpec -import io.kotest.matchers.booleans.shouldBeFalse import io.kotest.matchers.types.shouldBeTypeOf class PathTest : FunSpec({ @@ -16,7 +16,7 @@ class PathTest : FunSpec({ Path.ofShell("a", "b", userHome = homeDir), Path.ofShell(listOf("a", "b"), userHome = homeDir), ).forEach { - it.shouldBeTypeOf() + assertSoftly(it) { shouldBeTypeOf() } } } test("recognize absolute paths as such") { @@ -25,7 +25,7 @@ class PathTest : FunSpec({ Path.of("/"), Path.ofShell("/b/c", userHome = homeDir), ).forEach { - it.shouldBeTypeOf() + assertSoftly(it) { shouldBeTypeOf() } } } }) -- cgit