tests: add new lines on some tests
authorJean Privat <jean@pryen.org>
Wed, 18 Jun 2014 15:25:02 +0000 (11:25 -0400)
committerJean Privat <jean@pryen.org>
Wed, 18 Jun 2014 19:02:39 +0000 (15:02 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

32 files changed:
tests/base_covar_int2.nit
tests/base_output_class_name.nit
tests/base_var_null2.nit
tests/bench_tak.nit
tests/rterror_attr_def.nit
tests/sav/base_covar_int2.res
tests/sav/base_output_class_name.res
tests/sav/base_var_null2.res
tests/sav/base_var_null2_1alt3.res
tests/sav/base_var_null2_1alt3_alt2.res
tests/sav/base_var_null2_alt1.res
tests/sav/base_var_null2_alt2.res
tests/sav/bench_tak.res
tests/sav/nitg-e/base_output_class_name.res
tests/sav/nitg-e/fixme/base_covar_int2_alt1.res
tests/sav/nitg-e/fixme/base_covar_int2_alt3.res
tests/sav/nitg-e/fixme/base_covar_int2_alt5.res
tests/sav/nitg-g/fixme/base_covar_int2_alt3.res
tests/sav/nitg-g/fixme/base_covar_int2_alt5.res
tests/sav/nitg-s/fixme/base_covar_int2_alt1.res
tests/sav/nitg-s/fixme/base_covar_int2_alt3.res
tests/sav/nitg-s/fixme/base_covar_int2_alt5.res
tests/sav/niti/rterror_attr_def_alt7.res
tests/sav/rterror_attr_def.res
tests/sav/rterror_attr_def_alt7.res
tests/sav/rterror_attr_def_alt8.res
tests/sav/shootout_mandelbrot_args1.res
tests/sav/test_gets.res
tests/sav/test_operator_brackets.res
tests/shootout_mandelbrot.nit
tests/test_gets.nit
tests/test_operator_brackets.nit

index 550f651..cb8bdc9 100644 (file)
@@ -44,3 +44,4 @@ d1.foo(d2).output
 #alt4#1.foo(c2).output
 #alt5#d1.foo(c2).output
 c1.foo(c2).output
+'\n'.output
index 4776e65..f5fae31 100644 (file)
@@ -34,3 +34,4 @@ test1.output_class_name
 test2.output_class_name
 test3.output_class_name
 test4.output_class_name
+'\n'.output
index 084a19a..1b41bcc 100644 (file)
@@ -21,6 +21,7 @@ do
        if i == 2 then a = 2
        #1alt3#if i == 3 then a = '3'
        if a == null then 0.output else a.output
+       '\n'.output
 end
 
 test(1)
index 3ffaaf1..d5be5e8 100644 (file)
@@ -27,4 +27,4 @@ do
        end
 end
 
-printn(tak(37,12,6))
+print(tak(37,12,6))
index 203f759..744ff2b 100644 (file)
@@ -45,6 +45,7 @@ class B
        fun foo
        do
                self.o.output
+               '\n'.output
                self.a.output
                self.b.output
                #alt2#self.c.output
@@ -57,3 +58,4 @@ end
 
 var b = new B
 b.foo
+'\n'.output
index 33afcf3..f916ec6 100644 (file)
@@ -1,4 +1,4 @@
 1
 1
 1
-a
\ No newline at end of file
+a
index cd2b594..611cfdb 100644 (file)
@@ -3,4 +3,4 @@ Int
 Test
 Test
 MyArray[Int]
-0
\ No newline at end of file
+0
index 5f5fbe7..7e7bac6 100644 (file)
@@ -1,3 +1,5 @@
 1
+
 2
-3
\ No newline at end of file
+
+3
index 3cacc0b..48082f7 100644 (file)
@@ -1 +1 @@
-12
\ No newline at end of file
+12
index 4c87b06..4d56903 100644 (file)
@@ -1,2 +1,2 @@
-Runtime error: Uninitialized attribute @a (alt/rterror_attr_def_alt7.nit:48)
-c
\ No newline at end of file
+Runtime error: Uninitialized attribute @a (alt/rterror_attr_def_alt7.nit:49)
+c
index c4a680e..4c1d495 100644 (file)
@@ -1,2 +1,2 @@
 Runtime error: Uninitialized attribute @a (alt/rterror_attr_def_alt7.nit:24)
-c
\ No newline at end of file
+c
index 66ef874..53f24b9 100644 (file)
@@ -1,2 +1,3 @@
-Runtime error: Receiver is null (alt/rterror_attr_def_alt8.nit:49)
-c1
+Runtime error: Receiver is null (alt/rterror_attr_def_alt8.nit:50)
+c
+1
index 2c6ff6b..505c003 100644 (file)
Binary files a/tests/sav/shootout_mandelbrot_args1.res and b/tests/sav/shootout_mandelbrot_args1.res differ
index 5d25dd1..a3f0a73 100644 (file)
@@ -1 +1,2 @@
-bonjourndjui
\ No newline at end of file
+bonjour
+ndjui
index 42b5dfa..bb61552 100644 (file)
@@ -1 +1,3 @@
-112155
\ No newline at end of file
+11
+21
+55
index fb6b5dd..f8482b2 100644 (file)
@@ -25,7 +25,7 @@ var iter = 20
 var limit = 2.0
 
 if args.length != 1 then
-    printn("Usage: shootout_mandelbrot <size>\n")
+    print("Usage: shootout_mandelbrot <size>")
     return
 end
 
@@ -35,7 +35,7 @@ var h = w
 var byte_acc = 0
 var bit_num = 0
 
-printn("P4\n{w} {h}\n")
+print("P4\n{w} {h}")
 
 for y in [0..h[ do
     for x in [0..w[ do
@@ -73,3 +73,4 @@ for y in [0..h[ do
        end
     end
 end
+print ""
index a7efb38..ad1112a 100644 (file)
@@ -14,5 +14,5 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-printn(gets)
-printn(gets)
+print(gets)
+print(gets)
index 2f680d4..cbf28d8 100644 (file)
@@ -66,6 +66,6 @@ var m = new Matrice
 m[1,1] = 11
 m[2,1] = 21
 m[5,5] = 55
-printn(m[1,1])
-printn(m[2,1])
-printn(m[5,5])
+print(m[1,1])
+print(m[2,1])
+print(m[5,5])