summary refs log tree commit diff stats
path: root/tests/openarray/topenlen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openarray/topenlen.nim')
-rw-r--r--tests/openarray/topenlen.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/openarray/topenlen.nim b/tests/openarray/topenlen.nim
index fec8e87b7..164241b85 100644
--- a/tests/openarray/topenlen.nim
+++ b/tests/openarray/topenlen.nim
@@ -1,12 +1,11 @@
 discard """
-  file: "topenlen.nim"
   output: "7"
 """
 # Tests a special bug
 
 proc choose(b: openArray[string]): string = return b[0]
 
-proc p(a, b: openarray[string]): int =
+proc p(a, b: openArray[string]): int =
   result = a.len + b.len - 1
   for j in 0 .. a.len: inc(result)
   discard choose(a)
@@ -14,5 +13,3 @@ proc p(a, b: openarray[string]): int =
 
 discard choose(["sh", "-c", $p([""], ["a"])])
 echo($p(["", "ha", "abc"], ["xyz"])) #OUT 7
-
-