Reload rendrer when application changes (for tests)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -148,7 +148,7 @@ public class TypeSubstitutorTest extends KotlinTestWithEnvironment {
|
||||
new Function<Diagnostic, String>() {
|
||||
@Override
|
||||
public String fun(Diagnostic diagnostic) {
|
||||
return DefaultErrorMessages.RENDERER.render(diagnostic);
|
||||
return DefaultErrorMessages.render(diagnostic);
|
||||
}
|
||||
},
|
||||
"\n"));
|
||||
|
||||
Reference in New Issue
Block a user