Merge remote-tracking branch 'upstream/master' into init_auto
[nit.git] / tests / base_init_ret.nit
similarity index 88%
rename from tests/test_ropebuffer.nit
rename to tests/base_init_ret.nit
index aa21a5e..cdfb88e 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-var rb = new RopeBuffer
+import core::kernel
 
-for i in [0 .. 1000000[ do
-       rb.add 'S'
-       var s = rb.to_s
+class A
+       init
+       do
+               return
+       end
 end
+(new A).output_class_name