end template in tests as normal; if template was canceled - don't perform onSuccess method setup (IDEA-157973)

This commit is contained in:
Anna Kozlova
2016-07-08 10:50:23 +02:00
parent 185b889f35
commit b88d3c2d5a
3 changed files with 4 additions and 3 deletions
@@ -127,7 +127,7 @@ class Usage {
PsiDocumentManager.getInstance(getFile().project).commitDocument(document)
}
state.gotoEnd()
state.gotoEnd(false)
}
public void "test prefer outer class when static is not applicable for inner"() {
@@ -153,7 +153,7 @@ class A {
PsiDocumentManager.getInstance(getFile().project).commitDocument(document)
}
state.gotoEnd()
state.gotoEnd(false)
checkResultByText """
class A {