Skip to content

Commit

Permalink
assert -> assertTrue
Browse files Browse the repository at this point in the history
  • Loading branch information
mvicsokolova committed Nov 14, 2023
1 parent 9786f0f commit ad897c1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package test

import kotlinx.atomicfu.gradle.plugin.test.framework.checker.*
import kotlinx.atomicfu.gradle.plugin.test.framework.runner.*
import kotlin.test.Test
import kotlin.test.*

class MppProjectTest {
private val mppSample: GradleBuild = createGradleBuildFromSources("mpp-sample")
Expand All @@ -31,21 +31,21 @@ class MppProjectTest {
@Test
fun testMppWithEnabledJsIrTransformation() {
mppSample.enableJsIrTransformation = true
assert(mppSample.cleanAndBuild().isSuccessful)
assertTrue(mppSample.cleanAndBuild().isSuccessful)
mppSample.checkConsumableDependencies()
}

@Test
fun testMppWithDisabledJsIrTransformation() {
mppSample.enableJsIrTransformation = false
assert(mppSample.cleanAndBuild().isSuccessful)
assertTrue(mppSample.cleanAndBuild().isSuccessful)
mppSample.checkConsumableDependencies()
}

@Test
fun testMppNativeWithEnabledIrTransformation() {
mppSample.enableNativeIrTransformation = true
assert(mppSample.cleanAndBuild().isSuccessful)
assertTrue(mppSample.cleanAndBuild().isSuccessful)
mppSample.checkMppNativeCompileOnlyDependencies()
// TODO: klib checks are skipped for now because of this problem KT-61143
//mppSample.buildAndCheckNativeKlib()
Expand All @@ -54,7 +54,7 @@ class MppProjectTest {
@Test
fun testMppNativeWithDisabledIrTransformation() {
mppSample.enableNativeIrTransformation = false
assert(mppSample.cleanAndBuild().isSuccessful)
assertTrue(mppSample.cleanAndBuild().isSuccessful)
mppSample.checkMppNativeImplementationDependencies()
// TODO: klib checks are skipped for now because of this problem KT-61143
//mppSample.buildAndCheckNativeKlib()
Expand Down

0 comments on commit ad897c1

Please sign in to comment.