anchor.diff:            }
             String compiledName = '${name.substring(0, end)}.js';
             commands.add(_compileCommand(
  -              '$dir/$name', '${tempDir.path}/$compiledName',
  -              compiler, tempDir.path, vmOptions));
  +              '$dir/$name', '$tempDir/$compiledName',
  +              compiler, tempDir, vmOptions));
           }
         }
   
  
positive.code:           dartLibraryFilename = testPath;
          } else {
            dartLibraryFilename = 'test_as_library.dart';
            File file = new File('${tempDir.path}/$dartLibraryFilename');
            RandomAccessFile dartLibrary = file.openSync(FileMode.WRITE);
            dartLibrary.writeStringSync(WrapDartTestInLibrary(testPath));
            dartLibrary.closeSync();
  
negative.code:                                                     .replaceAll('=','')
                                                      .replaceAll('/','');
        }
        final String tempDir = createOutputDirectory(testPath, optionsName);
  
        String dartWrapperFilename = '$tempDir/test.dart';
        String compiledDartWrapperFilename = '$tempDir/test.js';
  
        String htmlPath = '$tempDir/test.html';
        if (!isWebTest) {
          // test.dart will import the dart test directly, if it is a library,
          // or indirectly through test_as_library.dart, if it is not.
  