summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-20 05:05:49 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-20 05:19:42 +0100
commit707204ac4a5539c9b4d4875d12fec340ba95c1a2 (patch)
treec16701e575665d6b6384aa885aae7b0d7aa915de /tests
parent4b8d5887667fd24dba8dee15f326f908f3ab142b (diff)
Get rid of _next_help_line()
Speeds things up a bit further. Rework the unget handling to save the ungotten line directly instead of using a flag. Add some help texts to tests/Klocation to make sure the line number is updated properly for those.
Diffstat (limited to 'tests')
-rw-r--r--tests/Klocation13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/Klocation b/tests/Klocation
index 737a221..3901ebf 100644
--- a/tests/Klocation
+++ b/tests/Klocation
@@ -13,6 +13,19 @@ if y && \
y && \
y
+# Throw in some help texts too
+
+config HELP_1
+ bool "help 1"
+ help
+config HELP_2
+ bool "help 2"
+ help
+ foo
+ bar
+
+ baz
+
config MULTI_DEF
endif