anchor.diff:        glob = new Glob("foo.dart");
         expect(glob.matchPath("foo.dart"), Glob.COMPLETE_MATCH);
         expect(glob.matchPath("foo!dart"), Glob.NO_MATCH);
  +    });
  +
  +    test('EditorConfig', () {
  +      ws.Workspace workspace = createWorkspace();
  +      MockFileSystem fs = new MockFileSystem();
  +      fs.createFile('.editorConfig', contents: EDITOR_CONFIG_CONTENT);
  +      DirectoryEntry dirEntry = fs.createDirectory('dir');
  +      fs.createFile('dir/.editorConfig', contents: """[*]
  +indent_size = 2
  +""");
  +      FileEntry sourceEntry = fs.createFile('dir/file.py', contents: "");
  +
  +      var sourceResource = new ws.File(workspace, sourceEntry);
  +      EditorConfig e = new EditorConfig(sourceResource);
  +      return e.whenReady.then((_) {
  +        expect(e.indentSize, 2);
  +      });
       });
   
   //    test('EditorConfig - parsing', () {
  
positive.code: import 'package:unittest/unittest.dart';
  
  import '../lib/editor_config.dart';
  
  String editorConfigContent = """
  
  # top-most EditorConfig file
  root = true
  
negative.code:       expect(glob.matchPath("abc/"), Glob.PREFIX_MATCH);
      });
  
      test('escaping test', () {
        Glob glob = new Glob("a**/foo\\ bar");
        expect(glob.matchPath("aaa/bbb"), Glob.PREFIX_MATCH);
        expect(glob.matchPath("aaa/bbb/foo ba"), Glob.PREFIX_MATCH);
  