summary refs log tree commit diff stats
path: root/tests/accept/compile/tlexer.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/compile/tlexer.nim')
-rwxr-xr-xtests/accept/compile/tlexer.nim9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/accept/compile/tlexer.nim b/tests/accept/compile/tlexer.nim
index f0fac8ec4..968a10bdf 100755
--- a/tests/accept/compile/tlexer.nim
+++ b/tests/accept/compile/tlexer.nim
@@ -42,8 +42,7 @@ proc main*(infile: string, a, b: int, someverylongnamewithtype = 0,
            anotherlongthingie = 3) =

   var

     myInt: int = 0

-    a b = 9

-    s: sequence[string]

+    s: seq[string]

   # this should be an error!

   if initBaseLexer(L, infile, 30): nil

   else:

@@ -51,7 +50,7 @@ proc main*(infile: string, a, b: int, someverylongnamewithtype = 0,
   writeln(stdout, "Success!")

   call(3, # we use 3

        12, # we use 12

-       43 # we use 43

-       )

+       43) # we use 43

+       

 

-main(ParamStr(1))

+main(ParamStr(1), 9, 0)