summaryrefslogtreecommitdiffstats
path: root/test/t/unit/test_unit_longopt.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/unit/test_unit_longopt.py')
-rw-r--r--test/t/unit/test_unit_longopt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/unit/test_unit_longopt.py b/test/t/unit/test_unit_longopt.py
index c5488e3..ab823d4 100644
--- a/test/t/unit/test_unit_longopt.py
+++ b/test/t/unit/test_unit_longopt.py
@@ -10,9 +10,9 @@ class TestUnitLongopt:
@pytest.fixture(scope="class")
def functions(self, request, bash):
assert_bash_exec(bash, "_grephelp() { cat _longopt/grep--help.txt; }")
- assert_bash_exec(bash, "complete -F _longopt _grephelp")
+ assert_bash_exec(bash, "complete -F _comp_complete_longopt _grephelp")
assert_bash_exec(bash, "_various() { cat _longopt/various.txt; }")
- assert_bash_exec(bash, "complete -F _longopt _various")
+ assert_bash_exec(bash, "complete -F _comp_complete_longopt _various")
@pytest.mark.complete("_grephelp --")
def test_1(self, functions, completion):