From e80465dacf50f260abec30ae57d37b298c93fd83 Mon Sep 17 00:00:00 2001 From: Adam Strzelecki Date: Fri, 4 Sep 2015 23:04:32 +0200 Subject: tests: Trim .nim files trailing whitespace via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + --- tests/assert/tuserassert.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/assert') diff --git a/tests/assert/tuserassert.nim b/tests/assert/tuserassert.nim index 57b229ca9..7bb0a7fc0 100644 --- a/tests/assert/tuserassert.nim +++ b/tests/assert/tuserassert.nim @@ -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) -- cgit 1.4.1-2-gfad0 his commit This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/tests/system/toString.nim
blob: 1279897a7d2fafe9ba1f846eee4228846cf08951 (plain) (tree)
1
2
3
4
5
6
7
8
9