doc: Commands tests use `test_frontend`
[nit.git] / tests / base_attr_gen.nit
index 8a8a346..ad4c947 100644 (file)
@@ -17,9 +17,9 @@
 import kernel
 
 class A[E]
-       var e: E
-       init do end
+       var e: E is noinit
 end
+
 var i = 1
 var a = new A[nullable Int]#alt1#
 #alt1#var a = new A[Int]