summaryrefslogtreecommitdiff
path: root/test/t/test_pgrep.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_pgrep.py')
-rw-r--r--test/t/test_pgrep.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/test_pgrep.py b/test/t/test_pgrep.py
index 1155e582..9c233311 100644
--- a/test/t/test_pgrep.py
+++ b/test/t/test_pgrep.py
@@ -7,3 +7,7 @@ class TestPgrep:
@pytest.mark.complete("pgrep p")
def test_1(self, completion):
assert completion
+
+ @pytest.mark.complete("pgrep -", require_cmd=True)
+ def test_2(self, completion):
+ assert completion