Minor: add checks in tests that no built chains
This commit is contained in:
committed by
Yan Zhulanow
parent
70f4933d5b
commit
67d7f77f66
@@ -94,6 +94,7 @@ abstract class KotlinPsiChainBuilderTestCase(private val relativePath: String) :
|
|||||||
override fun doTest() {
|
override fun doTest() {
|
||||||
val elementAtCaret = configureAndGetElementAtCaret()
|
val elementAtCaret = configureAndGetElementAtCaret()
|
||||||
TestCase.assertFalse(chainBuilder.isChainExists(elementAtCaret))
|
TestCase.assertFalse(chainBuilder.isChainExists(elementAtCaret))
|
||||||
|
TestCase.assertTrue(chainBuilder.build(elementAtCaret).isEmpty())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user