summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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