REPL: do not report warnings when there are errors

#KT-18349 Fixed
This commit is contained in:
Alexander Udalov
2016-02-02 08:27:00 +05:30
parent ed922deb93
commit cbb6269391
4 changed files with 32 additions and 8 deletions
@@ -114,6 +114,12 @@ public class ReplInterpreterTestGenerated extends AbstractReplInterpreterTest {
doTest(fileName);
}
@TestMetadata("noWarningsWithErrors.repl")
public void testNoWarningsWithErrors() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/repl/noWarningsWithErrors.repl");
doTest(fileName);
}
@TestMetadata("simple.repl")
public void testSimple() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/repl/simple.repl");