summaryrefslogtreecommitdiffstats
path: root/test/t/test_printenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_printenv.py')
-rw-r--r--test/t/test_printenv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/test_printenv.py b/test/t/test_printenv.py
index 540c4f6..8384ec0 100644
--- a/test/t/test_printenv.py
+++ b/test/t/test_printenv.py
@@ -13,7 +13,7 @@ class TestPrintenv:
@pytest.mark.complete(
"printenv -",
require_cmd=True,
- xfail="! printenv --help 2>&1 | command grep -qF -- ' -'",
+ xfail="! printenv --help 2>&1 | command grep -q '^[[:space:]]*-'",
)
def test_options(self, completion):
assert completion