mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix test
This commit is contained in:
+1
-1
@@ -340,7 +340,7 @@ public class EditorColorsSchemeImplTest extends EditorColorSchemeTestCase {
|
||||
keyC = TextAttributesKey.createTextAttributesKey(keyC.getExternalName(), keyB);
|
||||
fail("Must fail");
|
||||
}
|
||||
catch (IllegalStateException e) {
|
||||
catch (IllegalStateException | AssertionError e) {
|
||||
assertTrue(e.getMessage().contains("already registered"));
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user