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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/t/test_ls.py b/test/t/test_ls.py
index ed5ad9c4..7e2d1f35 100644
--- a/test/t/test_ls.py
+++ b/test/t/test_ls.py
@@ -8,7 +8,9 @@ from conftest import (
class TestLs:
- @pytest.mark.complete("ls --", skipif="! ls --help &>/dev/null")
+ @pytest.mark.complete(
+ "ls --", require_cmd=True, xfail="! ls --help &>/dev/null"
+ )
def test_1(self, completion):
assert completion