diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-10-29 16:41:03 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-10-29 18:30:46 +0100 |
| commit | e1ccf19f9f5fc896dfeef15883d2cb455cbbb937 (patch) | |
| tree | 10cc86a8840315f0ec4c603abad7c4a2b840e2a6 /tests/sub | |
| parent | 2d1cb7eae230a560e02b7a8bdee2cf0526d169e2 (diff) | |
Add public helpers for generating "<name> (defined at ...)" strings
Have Symbol/Choice.name_and_loc return strings like
"MY_SYM (defined at foo:1, bar:2)"
"<choice> (defined at foo:4)"
I've added a function like that in at least four different scripts now,
so that's probably a sign that it's a worthwhile helper.
Clean up the tests/Klocation tests a bit while adding tests.
Diffstat (limited to 'tests/sub')
| -rw-r--r-- | tests/sub/Klocation_grsourced1 | 2 | ||||
| -rw-r--r-- | tests/sub/Klocation_grsourced2 | 2 | ||||
| -rw-r--r-- | tests/sub/Klocation_gsourced1 | 2 | ||||
| -rw-r--r-- | tests/sub/Klocation_gsourced2 | 2 | ||||
| -rw-r--r-- | tests/sub/Klocation_rsourced | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/sub/Klocation_grsourced1 b/tests/sub/Klocation_grsourced1 index 49dac36..1e04ad6 100644 --- a/tests/sub/Klocation_grsourced1 +++ b/tests/sub/Klocation_grsourced1 @@ -1 +1 @@ -config MULTI_DEF +config MANY_DEF diff --git a/tests/sub/Klocation_grsourced2 b/tests/sub/Klocation_grsourced2 index 49dac36..1e04ad6 100644 --- a/tests/sub/Klocation_grsourced2 +++ b/tests/sub/Klocation_grsourced2 @@ -1 +1 @@ -config MULTI_DEF +config MANY_DEF diff --git a/tests/sub/Klocation_gsourced1 b/tests/sub/Klocation_gsourced1 index 49dac36..1e04ad6 100644 --- a/tests/sub/Klocation_gsourced1 +++ b/tests/sub/Klocation_gsourced1 @@ -1 +1 @@ -config MULTI_DEF +config MANY_DEF diff --git a/tests/sub/Klocation_gsourced2 b/tests/sub/Klocation_gsourced2 index 49dac36..1e04ad6 100644 --- a/tests/sub/Klocation_gsourced2 +++ b/tests/sub/Klocation_gsourced2 @@ -1 +1 @@ -config MULTI_DEF +config MANY_DEF diff --git a/tests/sub/Klocation_rsourced b/tests/sub/Klocation_rsourced index c6f185d..12fdbc2 100644 --- a/tests/sub/Klocation_rsourced +++ b/tests/sub/Klocation_rsourced @@ -1,2 +1,2 @@ -config MULTI_DEF +config MANY_DEF |
