tests: prepare for new constructors
[nit.git] / tests / bench_random_n_sort.nit
index 513e78e..1e1c5bd 100644 (file)
@@ -32,12 +32,7 @@ redef class Int
 end
 
 class Integer
-       var value: Int
-
-       init
-       do
-               value = 42
-       end
+       var value: Int = 42
 end
 
 var n = 100