summaryrefslogtreecommitdiff
path: root/test/t/test_declare.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_declare.py')
-rw-r--r--test/t/test_declare.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/test_declare.py b/test/t/test_declare.py
index b17affc2..a61d9260 100644
--- a/test/t/test_declare.py
+++ b/test/t/test_declare.py
@@ -2,11 +2,11 @@ import pytest
class TestDeclare:
- @pytest.mark.complete("declare -")
+ @pytest.mark.complete("declare -", require_cmd=True)
def test_1(self, completion):
assert completion
- @pytest.mark.complete("declare +")
+ @pytest.mark.complete("declare +", require_cmd=True)
def test_2(self, completion):
assert completion