Skip to content

Commit

Permalink
fix nim CI following #17455 (same postmortem as #17721) (#17740)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored Apr 16, 2021
1 parent 957478c commit 201ac2b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/stdlib/trepr.nim
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,8 @@ proc `foo bar baz`(): int =
let a = deb:
proc `foo=`() = discard
doAssert a == """
proc `foo=`() =
discard
"""
discard"""

block: # bug #14850
block:
Expand All @@ -221,7 +219,6 @@ proc `foo=`() =
4)

doAssert a == """
template bar(): untyped =
foo1:
discard
Expand All @@ -244,8 +241,7 @@ template bar(): untyped =
4
a.add(foo7 do:
echo "baz"
4)
"""
4)"""

static: main()
main()

0 comments on commit 201ac2b

Please sign in to comment.