Skip to content

Commit e38167a

Browse files
committed
test: xfail non-longopt csplit, date, ld, pr, and rmdir
1 parent d0acb78 commit e38167a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/t/test_csplit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class TestCsplit:
66
def test_1(self, completion):
77
assert completion
88

9-
@pytest.mark.complete("csplit -", require_cmd=True)
9+
@pytest.mark.complete("csplit -", require_longopt=True)
1010
def test_options(self, completion):
1111
assert completion

test/t/test_date.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class TestDate:
66
def test_1(self, completion):
77
assert completion
88

9-
@pytest.mark.complete("date -", require_cmd=True)
9+
@pytest.mark.complete("date -", require_longopt=True)
1010
def test_options(self, completion):
1111
assert completion

test/t/test_ld.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class TestLd:
66
def test_1(self, completion):
77
assert completion
88

9-
@pytest.mark.complete("ld -", require_cmd=True)
9+
@pytest.mark.complete("ld -", require_longopt=True)
1010
def test_options(self, completion):
1111
assert completion

test/t/test_pr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ class TestPr:
66
def test_1(self, completion):
77
assert completion
88

9-
@pytest.mark.complete("pr -", require_cmd=True)
9+
@pytest.mark.complete("pr -", require_longopt=True)
1010
def test_options(self, completion):
1111
assert completion

test/t/test_rmdir.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ def test_2(self, completion):
1111
"""Should complete dirs only, also when invoked using full path."""
1212
assert completion == ["bar bar.d/", "foo.d/"]
1313

14-
@pytest.mark.complete("rmdir -", require_cmd=True)
14+
@pytest.mark.complete("rmdir -", require_longopt=True)
1515
def test_options(self, completion):
1616
assert completion

0 commit comments

Comments
 (0)