anchor.diff:  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;
   
  -import 'runtime_configuration.dart' show DartPrecompiledAdbRuntimeConfiguration;
  +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 {
  
positive.code:     return new PipelineCommand._(conf, (List<String> globalArguments,
                                          String previousOutput) {
        assert(previousOutput.endsWith('.dill'));
        return []..addAll(globalArguments)..add(previousOutput);
      });
    }
  
  
negative.code:       args.add('--enable_asserts');
        args.add('--enable_type_checks');
      }
  
      var dir = artifact.filename;
      if (runtimeConfiguration is DartPrecompiledAdbRuntimeConfiguration) {
        // On android the precompiled snapshot will be pushed to a different
        // directory on the device, use that one instead.
        dir = DartPrecompiledAdbRuntimeConfiguration.DeviceTestDir;
      }
      originalArguments = replaceDartFileWith(
          originalArguments, "$dir/out.aotsnapshot");
  
      return args
        ..addAll(vmOptions)
        ..addAll(sharedOptions)
        ..addAll(originalArguments);
    }
  }
  
  