summaryrefslogtreecommitdiff
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 7e2d1f35..8abcb59d 100644
--- a/test/t/test_ls.py
+++ b/test/t/test_ls.py
@@ -36,5 +36,5 @@ class TestLs:
return
part, full = part_full
completion = assert_complete(bash, "ls ~%s" % part)
- assert completion == "~%s" % full
+ assert completion == full[len(part) :]
assert completion.endswith(" ")