contracts: change the contract syntax
[nit.git] / tests / test_string_bytes.nit
index 875f5dc..00d3d04 100644 (file)
@@ -28,24 +28,5 @@ print z.bytes.reverse_iterator.to_a
 
 var b = new FlatBuffer.from(x)
 
-print b
-
-b.bytes.add 0x41u8
-
-print b
-
-b.bytes[0] = 0x41u8
-
-print b
-
-var c = new RopeBuffer.from(x)
-
-print c
-
-c.bytes.add 0x41u8
-
-print c
-
-c.bytes[0] = 0x41u8
-
-print c
+print b.bytes.to_a
+print b.bytes.reverse_iterator.to_a