diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-12-14 17:13:41 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-12-14 17:15:03 +0100 |
commit | 675b6f07737a0f23b3b052552eeec525136c6960 (patch) | |
tree | 7a718ffa3d3c1fe9a7408afe426e422bc55a498a /tests/modules | |
parent | 32c6b35d97332e884648929672b0f163ee6febff (diff) | |
download | Nim-675b6f07737a0f23b3b052552eeec525136c6960.tar.gz |
fixes #9978
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/timport_in_config.nim | 8 | ||||
-rw-r--r-- | tests/modules/timport_in_config.nim.cfg | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/timport_in_config.nim b/tests/modules/timport_in_config.nim new file mode 100644 index 000000000..1ea02407d --- /dev/null +++ b/tests/modules/timport_in_config.nim @@ -0,0 +1,8 @@ +discard """ +output: '''hallo''' +joinable: false +""" + +# bug #9978 + +echo "hi".replace("i", "allo") diff --git a/tests/modules/timport_in_config.nim.cfg b/tests/modules/timport_in_config.nim.cfg new file mode 100644 index 000000000..50b6679f8 --- /dev/null +++ b/tests/modules/timport_in_config.nim.cfg @@ -0,0 +1 @@ +--import: "strutils" |