summary refs log tree commit diff stats
path: root/tests/lexer/tident.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lexer/tident.nim')
-rw-r--r--tests/lexer/tident.nim18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/lexer/tident.nim b/tests/lexer/tident.nim
index 1ed9894c6..68cc01e70 100644
--- a/tests/lexer/tident.nim
+++ b/tests/lexer/tident.nim
@@ -1,12 +1,12 @@
 
 type
-  TIdObj* = object of TObject

-    id*: int                  # unique id; use this for comparisons and not the pointers

-  

-  PIdObj* = ref TIdObj

-  PIdent* = ref TIdent

-  TIdent*{.acyclic.} = object

-    s*: string

+  TIdObj* = object of TObject
+    id*: int                  # unique id; use this for comparisons and not the pointers
+
+  PIdObj* = ref TIdObj
+  PIdent* = ref TIdent
+  TIdent*{.acyclic.} = object
+    s*: string
 
 proc myNewString(L: int): string {.inline.} =
   result = newString(L)
@@ -15,8 +15,8 @@ proc myNewString(L: int): string {.inline.} =
   for i in 0..L-1:
     if result[i] == '\0':
       echo("Correct")
-    else: 
+    else:
       echo("Wrong")
-  
+
 var s = myNewString(8)