summaryrefslogtreecommitdiff
path: root/tests/Kstr
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-05-25 17:04:09 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-05-25 18:04:15 +0200
commit9f57bf933508901f07d22c75fca42e62145f5512 (patch)
tree5b80c60bd542d7167ec8c6f04d8b3ea50985f455 /tests/Kstr
parente1da7aa4d041d25e4fd5fd1f603f4c28d32b1392 (diff)
Use the '<type> "prompt"' shorthand in __str__()
Pro: Looks cleaner and matches how definitions are usually written. Con: Makes it harder to discover that 'bool "foo"' is just shorthand for 'bool' + 'prompt "foo"' (though it's documented). The pros probably win.
Diffstat (limited to 'tests/Kstr')
-rw-r--r--tests/Kstr4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Kstr b/tests/Kstr
index 07d7b8d..4243918 100644
--- a/tests/Kstr
+++ b/tests/Kstr
@@ -238,3 +238,7 @@ config DEP_REM_CORNER_CASES
depends on BAZ && QAZ
endmenu
+
+# Only prompt, no type
+config PROMPT_ONLY
+ prompt "prompt only"