Code cleanup
This commit is contained in:
parent
e35eebf084
commit
84130da367
2 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ import org.junit.Test
|
|||
class DefaultSessionWellknownRetrieverTest {
|
||||
@Test
|
||||
fun `get empty wellknown`() = runTest {
|
||||
val getUrlLambda = lambdaRecorder<String, Result<ByteArray>>() {
|
||||
val getUrlLambda = lambdaRecorder<String, Result<ByteArray>> {
|
||||
Result.success("{}".toByteArray())
|
||||
}
|
||||
val sut = createDefaultSessionWellknownRetriever(
|
||||
|
|
@ -150,7 +150,7 @@ class DefaultSessionWellknownRetrieverTest {
|
|||
|
||||
@Test
|
||||
fun `get empty element wellknown`() = runTest {
|
||||
val getUrlLambda = lambdaRecorder<String, Result<ByteArray>>() {
|
||||
val getUrlLambda = lambdaRecorder<String, Result<ByteArray>> {
|
||||
Result.success("{}".toByteArray())
|
||||
}
|
||||
val sut = createDefaultSessionWellknownRetriever(
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class KonsistLicenseTest {
|
|||
it.nameWithExtension != "KonsistLicenseTest.kt" &&
|
||||
it.name.startsWith("Template ").not()
|
||||
}
|
||||
.assertTrue { it ->
|
||||
.assertTrue {
|
||||
it.text.count("New Vector") == 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue