protected void runReplaceScriptNoWarnings(
List<String> sources, String newSource, int newSourceInd) {
Result result =
runReplaceScript(getOptions(), sources, 0, 0, newSource, newSourceInd, true).getResult();
assertNoWarningsOrErrors(result);
<BUG>assertTrue(result.success);
</BUG>
}
protected void runReplaceScriptWithError(
List<String> sources, String newSource, int newSourceInd, DiagnosticType errorType) {

protected void runReplaceScriptNoWarnings(
List<String> sources, String newSource, int newSourceInd) {
Result result =
runReplaceScript(getOptions(), sources, 0, 0, newSource, newSourceInd, true).getResult();
assertNoWarningsOrErrors(result);
assertThat(result.success).isTrue();
}
protected void runReplaceScriptWithError(
List<String> sources, String newSource, int newSourceInd, DiagnosticType errorType) {
