[Gradle, JS] Fix cli tests for ir
KT-60495
This commit is contained in:
committed by
Space Team
parent
3b878336dd
commit
1f9af4b452
@@ -70,6 +70,8 @@ public abstract class AbstractCliTest extends TestCaseWithTmpdir {
|
||||
int next = args.subList(index, args.size()).indexOf("---");
|
||||
if (next == -1) {
|
||||
next = args.size();
|
||||
} else {
|
||||
next = index + next;
|
||||
}
|
||||
Pair<String, ExitCode> pair = CompilerTestUtil.executeCompiler(compiler, args.subList(index, next));
|
||||
output.append(pair.getFirst());
|
||||
|
||||
Reference in New Issue
Block a user