We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb70460 commit de3eedcCopy full SHA for de3eedc
tests/system/tlenvarargs.nim
@@ -3,10 +3,10 @@ discard """
3
tlenvarargs.nim:35:9 (1, 2)
4
tlenvarargs.nim:36:9 12
5
tlenvarargs.nim:37:9 1
6
-tlenvarargs.nim:38:8'''
7
- joinable: "false"
+tlenvarargs.nim:38:8
+done
8
+'''
9
"""
-
10
## line 10
11
12
template myecho*(a: varargs[untyped]) =
@@ -52,4 +52,8 @@ proc main()=
52
## shows why `lenVarargs` can't be named `len`
53
doAssert fun4("abcdef") == len("abcdef")
54
55
+ ## workaround for BUG:D20191218T171447 whereby if testament expected output ends
56
+ ## in space, testament strips it from expected output but not actual output,
57
+ ## which leads to a mismatch when running test via megatest
58
+ echo "done"
59
main()
0 commit comments