Update expected testdata of live templates test

This commit is contained in:
Dmitry Jemerov
2017-09-21 17:33:55 +02:00
parent 4c04eaa29a
commit 690eaa95bd
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import javax.swing.SwingUtilities
fun main(args : Array<String>) {
SwingUtilities.invokeLater(object : Runnable {
override fun run() {
throw UnsupportedOperationException()
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
})
}
+1 -1
View File
@@ -1,3 +1,3 @@
fun main(args : Array<String>) {
System.err?.println(<caret>)
System.err.println(<caret>)
}
@@ -21,7 +21,6 @@ import com.intellij.codeInsight.template.TemplateManager
import com.intellij.codeInsight.template.impl.TemplateManagerImpl
import com.intellij.codeInsight.template.impl.TemplateState
import com.intellij.ide.DataManager
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.command.CommandProcessor
import com.intellij.openapi.editor.actionSystem.EditorActionManager
import com.intellij.testFramework.LightProjectDescriptor
@@ -85,7 +84,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() {
fun testSoutv() {
start()
assertStringItems("ASSERTIONS_ENABLED", "args", "defaultBlockSize", "defaultBufferSize", "minimumBlockSize", "x", "y")
assertStringItems("DEFAULT_BUFFER_SIZE", "args", "x", "y")
typeAndNextTab("y")
checkAfter()
@@ -190,7 +189,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() {
fun testIter() {
start()
assertStringItems("args", "myList", "o", "str", "stream")
assertStringItems("args", "myList", "o", "str")
type("args")
nextTab(2)