Skip to content

Commit 7dc4bc7

Browse files
committed
Fix compiler testings
1 parent 5ba80aa commit 7dc4bc7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

compiler-tests/src/test/kotlin/com/skydoves/compose/stability/compiler/tests/GenerateTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package com.skydoves.compose.stability.compiler.tests
1717

18-
import org.jetbrains.kotlin.generators.generateTestGroupSuiteWithJUnit5
18+
import org.jetbrains.kotlin.generators.dsl.junit5.generateTestGroupSuiteWithJUnit5
1919

2020
/**
2121
* Main function to generate test classes from test data files.

stability-lint/src/test/kotlin/com/skydoves/compose/stability/lint/TraceRecompositionDetectorTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class TraceRecompositionDetectorTest : LintDetectorTest() {
7171
""",
7272
).indented(),
7373
)
74+
.allowMissingSdk()
7475
.run()
7576
.expect(
7677
"""
@@ -103,6 +104,7 @@ class TraceRecompositionDetectorTest : LintDetectorTest() {
103104
""",
104105
).indented(),
105106
)
107+
.allowMissingSdk()
106108
.run()
107109
.expectClean()
108110
}
@@ -128,6 +130,7 @@ class TraceRecompositionDetectorTest : LintDetectorTest() {
128130
""",
129131
).indented(),
130132
)
133+
.allowMissingSdk()
131134
.run()
132135
.expectClean()
133136
}
@@ -148,6 +151,7 @@ class TraceRecompositionDetectorTest : LintDetectorTest() {
148151
""",
149152
).indented(),
150153
)
154+
.allowMissingSdk()
151155
.run()
152156
.expectClean()
153157
}

0 commit comments

Comments
 (0)