mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-29 18:53:58 +00:00
tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
@@ -2,12 +2,12 @@ discard """
|
||||
output: "x == 45ugh"
|
||||
"""
|
||||
|
||||
template myAssert(cond: expr) =
|
||||
template myAssert(cond: expr) =
|
||||
when 3 <= 3:
|
||||
let c = cond.astToStr
|
||||
if not cond:
|
||||
echo c, "ugh"
|
||||
|
||||
|
||||
var x = 454
|
||||
myAssert(x == 45)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user