Reload rendrer when application changes (for tests)

This commit is contained in:
Alexey Tsvetkov
2014-12-12 20:43:31 +03:00
parent c78b199c0a
commit 669cbb203b
15 changed files with 97 additions and 40 deletions
@@ -233,7 +233,7 @@ public class JetTestUtils {
@Override
public void report(@NotNull Diagnostic diagnostic) {
if (diagnostic.getSeverity() == Severity.ERROR) {
throw new IllegalStateException(DefaultErrorMessages.RENDERER.render(diagnostic));
throw new IllegalStateException(DefaultErrorMessages.render(diagnostic));
}
}
};