tests: Update test_string_bytes
[nit.git] / tests / test_string_bytes.nit
index 875f5dc..13048d8 100644 (file)
@@ -28,24 +28,10 @@ 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
+print b.bytes.to_a
+print b.bytes.reverse_iterator.to_a
 
 var c = new RopeBuffer.from(x)
 
-print c
-
-c.bytes.add 0x41u8
-
-print c
-
-c.bytes[0] = 0x41u8
-
-print c
+print c.bytes
+print c.bytes.reverse_iterator.to_a