nitunit: fix executing last test which was previously ignored
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 20 Feb 2015 16:34:30 +0000 (11:34 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 20 Feb 2015 16:35:35 +0000 (11:35 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/testing/testing_doc.nit

index e18eebf..d6de328 100644 (file)
@@ -159,7 +159,7 @@ class NitUnitExecutor
                        f.write("end\n")
                end
                f.write("var a = args.first.to_i\n")
-               for j in [1..i[ do
+               for j in [1..i] do
                        f.write("if a == {j} then run_{j}\n")
                end
                f.close