AntCompletionTest.tearDown: safer

This commit is contained in:
Yann Cébron
2015-10-27 17:03:34 +01:00
parent ae172a2968
commit 74b38d515b
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2015 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.
@@ -214,8 +214,12 @@ public class AntCompletionTest extends LightCodeInsightTestCase {
@Override
protected void tearDown() throws Exception {
LookupManager.getInstance(getProject()).hideActiveLookup();
super.tearDown();
try {
LookupManager.getInstance(getProject()).hideActiveLookup();
}
finally {
super.tearDown();
}
}
}