anchor.diff:        merger.scanDirectoryForExamples(scriptDir)
         .chain((result) => merger.copyAndMergeDirectory(scriptDir,
             scriptDir, tempDir, print: printNothing))
  -      .then(checkResults);
  +      .then(checkResult);
       });
   
       test("clearOutputDirectory checks that the output directory doesn't exist", () {
  
positive.code:     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) {
  
          // 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
  
negative.code:       });
  
        merger.main(["--delete-first", scriptDir.path, scriptDir.path, tempDir.path],
            print: printNothing).then(checkResult);
      });
  
      test("ltrim trims the left side of a string", () {
  