Skip to content

Commit c2240bc

Browse files
committed
test(java): test _comp_cmd_java__packages for package name sep
1 parent 3818ee6 commit c2240bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/t/test_java.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,8 @@ def test_packages_5(self, bash):
8585
bash,
8686
"_comp_test_f() { local cword=3 words=(javadoc -sourcepath java/a a.b.c); COMPREPLY+=(); _comp_cmd_java__packages; }; _comp_test_f",
8787
)
88+
89+
@pytest.mark.complete("javadoc -sourcepath java a.")
90+
def test_packages_6(self, completion):
91+
"""A period in package names should not be converted to slash."""
92+
assert completion == "c"

0 commit comments

Comments
 (0)