diff options
author | Clyybber <darkmine956@gmail.com> | 2021-01-03 19:15:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 19:15:56 +0100 |
commit | a0134671eeed3cfac1e9035568cbdec41825da8d (patch) | |
tree | 0e8b0081f4c01a77a7b2edb22c81984ae58cefb9 /tests/misc/trunner.nim | |
parent | c82c67dc69a32a18a94c7c4de8efed3eb609d8c1 (diff) | |
download | Nim-a0134671eeed3cfac1e9035568cbdec41825da8d.tar.gz |
Make test independent of repo location (#16571)
* Make test independent of repo location * Fix differently
Diffstat (limited to 'tests/misc/trunner.nim')
-rw-r--r-- | tests/misc/trunner.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/misc/trunner.nim b/tests/misc/trunner.nim index 874ad66d6..63aac0ede 100644 --- a/tests/misc/trunner.nim +++ b/tests/misc/trunner.nim @@ -230,8 +230,6 @@ sub/mmain.idx""", context doAssert exitCode == 0 let dir = getCurrentDir() let files = """ -config/nim.cfg -config/config.nims tests/config.nims tests/newconfig/bar/nim.cfg tests/newconfig/bar/config.nims @@ -241,7 +239,7 @@ tests/newconfig/bar/mfoo.nims""".splitLines for a in files: let b = dir / a expected.add &"Hint: used config file '{b}' [Conf]\n" - doAssert outp == expected, outp & "\n" & expected + doAssert outp.endsWith expected, outp & "\n" & expected block: # nim --eval let opt = "--hints:off" |