Commit aece417c authored by Yann Cébron's avatar Yann Cébron
Browse files

BookmarkManagerTest: super.tearDown() in finally

parent 9a89b8ef
Showing with 9 additions and 5 deletions
+9 -5
/*
* Copyright 2000-2016 JetBrains s.r.o.
* Copyright 2000-2018 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -45,11 +45,15 @@ public class BookmarkManagerTest extends AbstractEditorTest {
@Override
protected void tearDown() throws Exception {
for (Bookmark bookmark : myBookmarks) {
getManager().removeBookmark(bookmark);
try {
for (Bookmark bookmark : myBookmarks) {
getManager().removeBookmark(bookmark);
}
myBookmarks.clear();
}
finally {
super.tearDown();
}
myBookmarks.clear();
super.tearDown();
}
public void testWholeTextReplace() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment