Skip to content

Commit 5fe5fcf

Browse files
committed
test(umount): apply naming changes here, too
1 parent 5a300b2 commit 5fe5fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/t/test_umount.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def dummy_mnt(self, request, bash):
2020
bash,
2121
"_mnt_completion() { "
2222
"local cur=$(_get_cword); "
23-
"_linux_fstab $(_get_pword) < mount/test-fstab; "
23+
"_comp_cmd_umount__linux_fstab $(_get_pword) < mount/test-fstab; "
2424
"} && complete -F _mnt_completion _mnt",
2525
)
2626
request.addfinalizer(
@@ -82,7 +82,7 @@ def test_mnt_label_quote(self, completion, dummy_mnt):
8282
@pytest.mark.skipif(sys.platform != "linux", reason="Linux specific")
8383
def test_linux_fstab_unescape(self, bash):
8484
assert_bash_exec(bash, r"var=one\'two\\040three\\")
85-
assert_bash_exec(bash, "__linux_fstab_unescape var")
85+
assert_bash_exec(bash, "_comp_cmd_umount__linux_fstab_unescape var")
8686
output = assert_bash_exec(
8787
bash, r'printf "%s\n" "$var"', want_output=True
8888
)

0 commit comments

Comments
 (0)