tests: do not fail test_attr
authorJean Privat <jean@pryen.org>
Tue, 10 Apr 2012 16:05:37 +0000 (12:05 -0400)
committerJean Privat <jean@pryen.org>
Tue, 10 Apr 2012 18:30:31 +0000 (14:30 -0400)
_i and _j are not initialized.
but the current compiler do not check that Sys is correctly built.

Signed-off-by: Jean Privat <jean@pryen.org>

tests/test_attr.nit

index 36bc108..d667658 100644 (file)
@@ -15,8 +15,8 @@
 # limitations under the License.
 
 redef class Sys
-       var _i: Int
-       var _j: Int
+       var _i: Int = 0
+       var _j: Int = 0
        redef fun main
        do
                printn(5)