summaryrefslogtreecommitdiff
path: root/tests/Krepr
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-06-23 02:29:14 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-06-23 02:52:26 +0200
commit7b97da6821a45ce34e731df68980dea0983cf18c (patch)
tree93c77c748a91b46e09d57d02975bc20153aa5fe1 /tests/Krepr
parent3b45f4bfdb253085062e86749f9ed449b85c3c86 (diff)
Shorten __repr__() functions a bit
Do 'add = fields.append'. Pointless as an optimization, but shaves some lines, and obvious in context. Also add test coverage for __repr__() for string symbols with user values.
Diffstat (limited to 'tests/Krepr')
-rw-r--r--tests/Krepr3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Krepr b/tests/Krepr
index 72b401d..fe6d8f0 100644
--- a/tests/Krepr
+++ b/tests/Krepr
@@ -14,6 +14,9 @@ config BASIC
config VISIBLE
bool "visible"
+config STRING
+ string "visible"
+
config DIR_DEP_N
depends on n