first "OK" closure test.

This commit is contained in:
Maxim Shafirov
2011-06-22 18:46:56 +04:00
parent 760b643df9
commit 3619e411a7
23 changed files with 482 additions and 46 deletions
@@ -71,9 +71,9 @@ public abstract class CodegenTestCase extends LightCodeInsightFixtureTestCase {
} catch (NoClassDefFoundError e) {
System.out.println(generateToText());
throw e;
} catch (Exception e) {
} catch (Throwable e) {
System.out.println(generateToText());
throw e;
throw new RuntimeException(e);
}
assertEquals("OK", actual);
}