summary refs log tree commit diff stats
path: root/tests/dll/server.nim
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-09-04 23:04:32 +0200
committerAdam Strzelecki <ono@java.pl>2015-09-04 23:04:32 +0200
commite80465dacf50f260abec30ae57d37b298c93fd83 (patch)
tree393394f8353a4adb49f95e6f13da1fd41681b7b3 /tests/dll/server.nim
parentac9c1cd6b980d4f00eeb52d1109d8e2c8cd21213 (diff)
downloadNim-e80465dacf50f260abec30ae57d37b298c93fd83.tar.gz
tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
Diffstat (limited to 'tests/dll/server.nim')
-rw-r--r--tests/dll/server.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/dll/server.nim b/tests/dll/server.nim
index df3223444..e6b80df88 100644
--- a/tests/dll/server.nim
+++ b/tests/dll/server.nim
@@ -10,11 +10,11 @@ type
     else: a, b: ref TNode
 
   PNode = ref TNode
-    
+
 proc newLit(x: int): PNode {.exportc: "newLit", dynlib.} =
   new(result)
   result.x = x
-  
+
 proc newOp(k: TNodeKind, a, b: PNode): PNode {.exportc: "newOp", dynlib.} =
   assert a != nil
   assert b != nil
@@ -22,13 +22,13 @@ proc newOp(k: TNodeKind, a, b: PNode): PNode {.exportc: "newOp", dynlib.} =
   result.k = k
   result.a = a
   result.b = b
-  
-proc buildTree(x: int): PNode {.exportc: "buildTree", dynlib.} = 
+
+proc buildTree(x: int): PNode {.exportc: "buildTree", dynlib.} =
   result = newOp(nkMul, newOp(nkAdd, newLit(x), newLit(x)), newLit(x))
 
 when false:
   # Test the GC:
   for i in 0..100_000:
     discard buildTree(2)
-    
+
   echo "Done"