From 3315030cf58e414ab77775de1fe240ff8449bf6c Mon Sep 17 00:00:00 2001 From: breandan <bre@ndan.co> Date: Sat, 17 Nov 2018 14:34:01 -0500 Subject: [PATCH] use editor markupModel directly to check tearDown --- src/test/kotlin/AceTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/AceTest.kt b/src/test/kotlin/AceTest.kt index b4340f8..b1eec67 100644 --- a/src/test/kotlin/AceTest.kt +++ b/src/test/kotlin/AceTest.kt @@ -70,7 +70,7 @@ class AceTest : LightCodeInsightFixtureTestCase() { override fun tearDown() { myFixture.performEditorAction(IdeActions.ACTION_EDITOR_ESCAPE) UIUtil.dispatchAllInvocationEvents() - assert(Canvas.jumpLocations.isEmpty()) + assertEmpty(editor.markupModel.allHighlighters) super.tearDown() } } \ No newline at end of file