summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-10-30 11:06:13 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-10-30 11:06:13 +0200
commitc3f6eda088776985244d2973ac09d338166069fe (patch)
treec82785f5edd7c410d2f6a082ec8bcc0590cbb765 /test
parent6e08dc550474c66bc09a539d7f35d2f58891be9c (diff)
downloadbash-completion-c3f6eda088776985244d2973ac09d338166069fe.tar.gz
cppcheck: Don't stop completing after -DFOO.
Diffstat (limited to 'test')
-rw-r--r--test/lib/completions/cppcheck.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lib/completions/cppcheck.exp b/test/lib/completions/cppcheck.exp
index 66caf27d..4acd709a 100644
--- a/test/lib/completions/cppcheck.exp
+++ b/test/lib/completions/cppcheck.exp
@@ -12,8 +12,18 @@ setup
assert_complete_any "cppcheck "
+sync_after_int
+
+
+assert_complete_any "cppcheck -"
+sync_after_int
+
+
+assert_complete_any "cppcheck -DFOO=BAR "
+sync_after_int
+assert_no_complete "cppcheck -D "
sync_after_int