From 034623f82a93fa7536bd0558a89975d9e9e2f945 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Tue, 23 Jun 2020 04:17:14 +0300 Subject: [PATCH] Fix top level import quick fix test for JS There's no longer any JS-only top level function that is not imported by default, so I used a common non-imported top level function. --- .../autoImports/libraryTopLevelFunctionImportJsRuntime.kt | 2 +- .../libraryTopLevelFunctionImportJsRuntime.kt.after | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt b/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt index fc477b7556b..355acc2d5ca 100644 --- a/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt +++ b/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt @@ -3,5 +3,5 @@ package some fun testFun() { - jq() + cos(0.0) } diff --git a/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after b/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after index db97ec8ef81..7c676ea3e58 100644 --- a/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after +++ b/idea/testData/quickfix/autoImports/libraryTopLevelFunctionImportJsRuntime.kt.after @@ -2,8 +2,8 @@ // JS package some -import jquery.jq +import kotlin.math.cos fun testFun() { - jq() + cos(0.0) }