           path = new Path
           result = path.list each:(path) -> each[path.path] = true
           for path in result.paths
-            assert (path.path in rootPaths), 'results shouldnt have |' + path + '|'
+            assert (path.path in rootPaths), 'results shouldnt have |' + path.path + '|'
           for path in rootPaths
-            assert each[path]?, 'each should have received path: |' + path + '|'
+            assert each[path]?, 'each should have received path: |' + path.path + '|'
 
 
   # path.files

            done:(error, result) ->
              if error? then return done error
              for path in result.paths
                assert (path.path in rootPaths), 'results shouldnt have |' + path + '|'
              done()

      describe 'with `accept` \'lib\' and `done` option', ->

      path = new Path
      result = path.files()
      for path in result.paths
        assert (path.path in rootFiles), 'results shouldnt have |' + path.path + '|'


  # path.dirs
