             '<File "fixture/unknown">'
             '<File? "fixture/vfolder.md">'
           ]
+          if path.isWindows
+            expected = [
+              '<File? "fixture\\file0.md">'
+              '<Folder "fixture\\folder">': [
+                '<File? "fixture\\folder\\file10.md">'
+                '<Folder "fixture\\folder\\folder1">': []
+              ,
+                '<Folder "fixture\\folder\\folder2">': [
+                  '<File? "fixture\\folder\\folder2\\test.md">'
+                ]
+                '<File? "fixture\\folder\\vfolder1.md">'
+              ]
+              '<File "fixture\\unknown">'
+              '<File? "fixture\\vfolder.md">'
+            ]
+          result.should.be.deep.equal expected
           done()
     it 'should load a resource virtual folder', (done)->
       res = Resource 'vfolder.md', cwd: __dirname, base: 'fixture'

        '<File "fixture/unknown">'
        '<File? "fixture/vfolder.md">'
      ]
    it 'should load a resource virtual folder', ->
      res = Resource 'vfolder.md', cwd: __dirname, base: 'fixture', load:true,read:true
      should.exist res, 'res'

  result

describe 'ResourceFile', ->
  loadCfgFile.register 'yml', yaml
  loadCfgFolder.register 'yml', yaml
  loadCfgFolder.register 'md', fmatterMarkdown
  loadCfgFolder.addConfig ['_config', 'INDEX', 'index', 'README']

