anchor.diff:      test("main does everything", () {
         Directory tempDir = new Directory("").createTempSync();
   
  -      // expectAsync1 can't be called from within a "then" clause because
  -      // that won't be called until after all the tests run.
  -      var checkResults = expectAsync1((bool result) {
  +      var checkResult = expectAsync1((bool result) {
   
           // TODO(jjinux): If there is an exception, or something else weird happens, then
           // the temp directory gets leaked. I can't figure out how to do it with
  
positive.code:       // dangerous, but this test won't be running as root.
        merger.deleteFirst = true;
  
        // expectAsync1 can't be called from within a "then" clause because
        // that won't be called until after all the tests run.
        var checkResults = expectAsync1((bool completed) {
          String scriptFilename = new Path.fromNative(new Options().script).filename;
          Path outputDirectory = new Path.fromNative(tempDir.path);
          Path mergedFile = outputDirectory.append(scriptFilename);
  
negative.code:       merger.scanDirectoryForExamples(scriptDir)
        .chain((result) => merger.copyAndMergeDirectory(scriptDir,
            scriptDir, tempDir, print: printNothing))
        .then(checkResult);
      });
  
      test("clearOutputDirectory checks that the output directory doesn't exist", () {
  