File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
tests/cli/files_collector Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,9 @@ def test_walk_ignore_top_level_ignores_order(fs: 'FakeFilesystem') -> None:
151151 fs .create_file ('/home/user/project/presented.log' )
152152 fs .create_file ('/home/user/project/subproject/presented.log' )
153153
154- results = _collect_walk_ignore_files ('/home/user/project' )
155- assert len (results ) == 3
156- assert normpath ('/home/user/ignored.log' ) not in results
157- assert normpath ('/home/user/project/presented.log' ) in results
158- assert normpath ('/home/user/project/subproject/presented.log' ) in results
154+ path = normpath ('/home/user/project' )
155+ result = _collect_walk_ignore_files (path )
156+ assert len (result ) == 3
157+ assert normpath ('/home/user/ignored.log' ) not in result
158+ assert normpath ('/home/user/project/presented.log' ) in result
159+ assert normpath ('/home/user/project/subproject/presented.log' ) in result
You can’t perform that action at this time.
0 commit comments