diff options
Diffstat (limited to 'test/src/TestAPI.kt')
-rw-r--r-- | test/src/TestAPI.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index 82353610..e65164fe 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -36,7 +36,8 @@ public fun verifyModel(vararg roots: ContentRoot, } } - val environment = AnalysisEnvironment(messageCollector) { + val environment = AnalysisEnvironment(messageCollector) + environment.apply { if (withJdk || withKotlinRuntime) { val stringRoot = PathManager.getResourceRoot(String::class.java, "/java/lang/String.class") addClasspath(File(stringRoot)) |