Skip to content

Commit 201ac2b

Browse files
authored
fix nim CI following #17455 (same postmortem as #17721) (#17740)
1 parent 957478c commit 201ac2b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/stdlib/trepr.nim

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,8 @@ proc `foo bar baz`(): int =
193193
let a = deb:
194194
proc `foo=`() = discard
195195
doAssert a == """
196-
197196
proc `foo=`() =
198-
discard
199-
"""
197+
discard"""
200198

201199
block: # bug #14850
202200
block:
@@ -221,7 +219,6 @@ proc `foo=`() =
221219
4)
222220

223221
doAssert a == """
224-
225222
template bar(): untyped =
226223
foo1:
227224
discard
@@ -244,8 +241,7 @@ template bar(): untyped =
244241
4
245242
a.add(foo7 do:
246243
echo "baz"
247-
4)
248-
"""
244+
4)"""
249245

250246
static: main()
251247
main()

0 commit comments

Comments
 (0)