summary refs log tree commit diff stats
path: root/tests/method
diff options
context:
space:
mode:
Diffstat (limited to 'tests/method')
-rw-r--r--tests/method/tmethods1.nim2
-rw-r--r--tests/method/tmultim1.nim4
-rw-r--r--tests/method/tmultim2.nim4
-rw-r--r--tests/method/tmultim4.nim2
-rw-r--r--tests/method/tmultim6.nim4
5 files changed, 8 insertions, 8 deletions
diff --git a/tests/method/tmethods1.nim b/tests/method/tmethods1.nim
index 43a260bca..461e2cb5e 100644
--- a/tests/method/tmethods1.nim
+++ b/tests/method/tmethods1.nim
@@ -11,7 +11,7 @@ type
 
   PNodeFoo* = ref object of TNode
 
-  TSomethingElse = object 
+  TSomethingElse = object
   PSomethingElse = ref TSomethingElse
 
 method foo(a: PNode, b: PSomethingElse) = discard
diff --git a/tests/method/tmultim1.nim b/tests/method/tmultim1.nim
index 7f551aa64..c7027f4c0 100644
--- a/tests/method/tmultim1.nim
+++ b/tests/method/tmultim1.nim
@@ -10,7 +10,7 @@ type
     x: int
   PlusExpr = ref object of Expression
     a, b: Expression
-    
+
 method eval(e: Expression): int = quit "to override!"
 method eval(e: Literal): int = return e.x
 method eval(e: PlusExpr): int = return eval(e.a) + eval(e.b)
@@ -18,7 +18,7 @@ method eval(e: PlusExpr): int = return eval(e.a) + eval(e.b)
 proc newLit(x: int): Literal =
   new(result)
   result.x = x
-  
+
 proc newPlus(a, b: Expression): PlusExpr =
   new(result)
   result.a = a
diff --git a/tests/method/tmultim2.nim b/tests/method/tmultim2.nim
index c5fb568a0..e695dd19b 100644
--- a/tests/method/tmultim2.nim
+++ b/tests/method/tmultim2.nim
@@ -13,10 +13,10 @@ type
     x: int
   TParticle = object of TThing
     a, b: int
-    
+
 method collide(a, b: TThing) {.inline.} =
   echo "collide: thing, thing"
-  
+
 method collide(a: TThing, b: TUnit) {.inline.} =
   echo "collide: thing, unit"
 
diff --git a/tests/method/tmultim4.nim b/tests/method/tmultim4.nim
index d824086b2..54630fb41 100644
--- a/tests/method/tmultim4.nim
+++ b/tests/method/tmultim4.nim
@@ -26,7 +26,7 @@ var s:ref Test = newTest()
 for z in 1..4:
   s.doMethod()
   break
- 
+
 #works
 #for z in 1..4:
 #  s.doProc()
diff --git a/tests/method/tmultim6.nim b/tests/method/tmultim6.nim
index 5f45f572a..6c21f80d2 100644
--- a/tests/method/tmultim6.nim
+++ b/tests/method/tmultim6.nim
@@ -9,10 +9,10 @@ type
     x: T
   TParticle = object of TThing
     a, b: int
-    
+
 method collide(a, b: TThing) {.inline.} =
   quit "to override!"
-  
+
 method collide[T](a: TThing, b: TUnit[T]) {.inline.} =
   write stdout, "collide: thing, unit | "