mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
test_gc: remove useless call to list
This commit is contained in:
parent
05a6325387
commit
f9c23f2c67
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ def common_test_clean(direnv_project: DirenvProject) -> None:
|
||||||
rcs = [f for f in files if f.match("*.rc")]
|
rcs = [f for f in files if f.match("*.rc")]
|
||||||
profiles = [f for f in files if not f.match("*.rc")]
|
profiles = [f for f in files if not f.match("*.rc")]
|
||||||
if len(rcs) != 1 or len(profiles) != 1:
|
if len(rcs) != 1 or len(profiles) != 1:
|
||||||
print(list(files))
|
print(files)
|
||||||
assert len(rcs) == 1
|
assert len(rcs) == 1
|
||||||
assert len(profiles) == 1
|
assert len(profiles) == 1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue