summaryrefslogtreecommitdiffstats
path: root/test/t/test_ls.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_ls.py')
-rw-r--r--test/t/test_ls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/test_ls.py b/test/t/test_ls.py
index 8abcb59..f91ee6b 100644
--- a/test/t/test_ls.py
+++ b/test/t/test_ls.py
@@ -24,7 +24,7 @@ class TestLs:
assert_bash_exec(
bash,
"for u in $(compgen -u); do "
- "eval test -d ~$u || echo $u; unset u; done",
+ "eval test -d ~$u || echo $u; unset -v u; done",
want_output=True,
)
.strip()