anchor.diff:        args.add('--enable_type_checks');
       }
   
  -    var newOriginalArguments = new List<String>.from(originalArguments);
  -    for (var i = 0; i < newOriginalArguments .length; i++) {
  -      if (newOriginalArguments[i].endsWith(".dart")) {
  -        newOriginalArguments[i] = artifact.filename;
  -      }
  -    }
  +    var newOriginalArguments = replaceDartFileWith(
  +        originalArguments, artifact.filename);
   
       return args
         ..addAll(vmOptions)
  
positive.code:     return new PipelineCommand._(conf, (List<String> globalArguments,
                                          String previousOutput) {
        assert(previousOutput.endsWith('.dill'));
        return []..addAll(globalArguments)..add(previousOutput);
      });
    }
  
  
negative.code: import 'dart:io' show Platform;
  
  import 'runtime_configuration.dart' show RuntimeConfiguration;
  import 'runtime_configuration.dart' show DartPrecompiledAdbRuntimeConfiguration;
  import 'test_runner.dart' show Command, CommandBuilder, CompilationCommand;
  import 'test_suite.dart' show TestInformation, TestUtils;
  
  List<String> replaceDartFileWith(List<String> list, String replacement) {
    var copy = new List<String>.from(list);
    for (var i = 0; i < copy.length; i++) {
      if (copy[i].endsWith(".dart")) {
        copy[i] = replacement;
      }
    }
    return copy;
  }
  
  /// Grouping of a command with its expected result.
  class CommandArtifact {
  