compilation

This commit is contained in:
Alexey Kudravtsev
2017-08-24 16:38:44 +03:00
parent f02a1cdd7d
commit e5ab32f60f
@@ -51,7 +51,7 @@ class PluginModuleCompilationTest : BaseCompilerTestCase() {
val modificator = pluginSdk!!.sdkModificator
modificator.sdkAdditionalData = Sandbox(getSandboxPath(), testProjectJdk, pluginSdk)
val rootPath = FileUtil.toSystemIndependentName(PathManager.getJarPathForClass(FileUtilRt::class.java)!!)
modificator.addRoot(LocalFileSystem.getInstance().refreshAndFindFileByPath(rootPath), OrderRootType.CLASSES)
modificator.addRoot(LocalFileSystem.getInstance().refreshAndFindFileByPath(rootPath)!!, OrderRootType.CLASSES)
modificator.commitChanges()
table.addJdk(pluginSdk!!)
}