anchor.diff:          testAppendSync();
           testWriteAppend();
           testOutputStreamWriteAppend();
  +        testWriteVariousLists();
         });
     }
   }
  
positive.code:     file.create();
    }
  
    // Test for file length functionality.
    static void testLength() {
      String filename = getFilename("tests/vm/data/fixed_length_file");
  
negative.code: // Dart test program for testing file I/O.
  
  #import("dart:io");
  
  class MyListOfOneElement implements List {
    int _value;
    MyListOfOneElement(this._value);
    int get length() => 1;
    operator [](int index) => _value;
  }
  
  class FileTest {
    static Directory tempDirectory;
  