We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_java_find_sourcepath
1 parent ec73841 commit 1adf2dbCopy full SHA for 1adf2db
test/t/test_java.py
@@ -47,3 +47,14 @@ def test_5(self, completion):
47
@pytest.mark.complete("java -jar java/")
48
def test_6(self, completion):
49
assert completion == "a/ bashcomp.jar bashcomp.war".split()
50
+
51
+ @pytest.mark.complete("javadoc -sourcepath java/a:java/a/c ")
52
+ def test_sourcepath_1(self, completion):
53
+ """sourcepath should be split by `:`"""
54
+ assert completion == "c"
55
56
+ @pytest.mark.complete("javadoc -sourcepath java/?:java/x ")
57
+ def test_sourcepath_2(self, completion):
58
+ """pathname expansion should not happen after splitting the argument by
59
+ `:`"""
60
+ assert not completion
0 commit comments