anchor.diff:            }
             openedFile2.closeSync();
             file2.deleteSync();
  +          asyncTestDone("testWriteVariousLists");
           };
         };
         file.errorHandler = (s) {
  
positive.code: 
    static void createTempDirectory(Function doNext) {
      tempDirectory = new Directory('');
      tempDirectory.createTempHandler = doNext;
      tempDirectory.createTemp();
    }
  
    static void deleteTempDirectory() {
      tempDirectory.deleteSync();
    }
  
    // Test for file read functionality.
  
negative.code: 
    // Test for file write of different types of lists.
    static void testWriteVariousLists() {
      asyncTestStarted();
      final String fileName = "${tempDirectory.path}/testWriteVariousLists";
      final File file = new File(fileName);
      file.create();
  