anchor.diff:  import 'utils.dart';
   
   void _testEncoding(name, expected, [bool create = true]) {
  -  testVirtualDir('encode-$name', (dir) {
  +  testVirtualDir('encode-$name', (dir) async {
       if (create) new File('${dir.path}/$name').createSync();
       var virDir = new VirtualDirectory(dir.path);
       virDir.allowDirectoryListing = true;
   
  -    return getStatusCodeForVirtDir(virDir, '/$name').then((result) {
  -      expect(result, expected);
  -    });
  +    var result = await getStatusCodeForVirtDir(virDir, '/$name');
  +    expect(result, expected);
     });
   }
   
  
positive.code:         expect(result, HttpStatus.NOT_FOUND);
        });
      });
    });
  
    group('url-decode', () {
      testVirtualDir('with-space', (dir) {
  
negative.code:           virDir.allowDirectoryListing = true;
  
            return Future.wait([
              getAsString(virDir, '/').then((s) => s.contains('recursive&#47;')),
              getAsString(virDir, '/').then((s) => !s.contains('../')),
              getAsString(virDir, '/').then((s) => s.contains('Index of &#47;')),
              getAsString(virDir, '/recursive')
                  .then((s) => s.contains('recursive&#47;')),
              getAsString(virDir, '/recursive')
                  .then((s) => s.contains('..&#47;')),
              getAsString(virDir, '/recursive')
                  .then((s) => s.contains('Index of &#47;recursive'))
            ]).then((result) {
              expect(result, equals([true, true, true, true, true, true]));
            });
  