Use first text range for diagnostics with multiple ranges.
Move TEXT_RANGE_COMPARATOR to DiagnosticUtils.
This commit is contained in:
@@ -116,6 +116,14 @@ public class CliTest {
|
||||
executeCompilerCompareOutput(args);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void multipleTextRangesInDiagnosticsOrder() throws Exception {
|
||||
String[] args = {
|
||||
"-src", "compiler/testData/cli/multipleTextRangesInDiagnosticsOrder.kt",
|
||||
"-output", tmpdir.getTmpDir().getPath()};
|
||||
executeCompilerCompareOutput(args);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void help() throws Exception {
|
||||
executeCompilerCompareOutput(new String[] {"-help"});
|
||||
|
||||
Reference in New Issue
Block a user