Skip to content

Commit 0e37c31

Browse files
committed
Migrate module tests api for Kotlin 2.3.20
1 parent 09f1a02 commit 0e37c31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import java.io.File
2424
* This is necessary because the compiler test framework needs to know where to find
2525
* the standard library JARs (kotlin-stdlib, kotlin-reflect, etc.) when compiling test files.
2626
*/
27-
object ClasspathBasedStandardLibrariesPathProvider : KotlinStandardLibrariesPathProvider() {
27+
object ClasspathBasedStandardLibrariesPathProvider : KotlinStandardLibrariesPathProvider {
2828

2929
private val jars =
3030
System.getProperty("java.class.path")
@@ -84,4 +84,6 @@ object ClasspathBasedStandardLibrariesPathProvider : KotlinStandardLibrariesPath
8484
}
8585

8686
override fun commonStdlibForTests(): File = getFile("kotlin-stdlib")
87+
88+
override fun webStdlibForTests(): File = getFile("kotlin-stdlib")
8789
}

0 commit comments

Comments
 (0)