summaryrefslogtreecommitdiff
path: root/test/lib/completions/java.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/java.exp')
-rw-r--r--test/lib/completions/java.exp11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/lib/completions/java.exp b/test/lib/completions/java.exp
index 842501d2..864aabd6 100644
--- a/test/lib/completions/java.exp
+++ b/test/lib/completions/java.exp
@@ -18,14 +18,21 @@ assert_complete_any "java -"
sync_after_int
-assert_complete "b bashcomp.jarred toplevel" "java "
+assert_complete "b bashcomp.jarred c. toplevel" "java "
sync_after_int
assert_complete "bashcomp.jarred toplevel" \
- "java -cp $::srcdir/fixtures/java/bashcomp.jar "
+ "java -classpath $::srcdir/fixtures/java/bashcomp.jar "
+
+
+sync_after_int
+
+
+assert_complete "bashcomp.jarred d toplevel" \
+ "java -cp $::srcdir/fixtures/java/bashcomp.jar:$::srcdir/fixtures/java/a/c "
sync_after_int