Don't show "Run tests" gutter icon when there's nothing to run
#KT-20338 Fixed
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ class KotlinTestRunLineMarkerContributor : RunLineMarkerContributor() {
|
|||||||
is JvmPlatform -> getJavaTestIcon(declaration)
|
is JvmPlatform -> getJavaTestIcon(declaration)
|
||||||
is JsPlatform -> getJavaScriptTestIcon(declaration, descriptor)
|
is JsPlatform -> getJavaScriptTestIcon(declaration, descriptor)
|
||||||
else -> return null
|
else -> return null
|
||||||
}
|
} ?: return null
|
||||||
return RunLineMarkerContributor.Info(icon, { "Run Test" }, ExecutorAction.getActions())
|
return RunLineMarkerContributor.Info(icon, { "Run Test" }, ExecutorAction.getActions())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user