nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manual: CI check with nitunit
[nit.git]
/
tests
/
test_string_bytes.nit
diff --git
a/tests/test_string_bytes.nit
b/tests/test_string_bytes.nit
index
875f5dc
..
00d3d04
100644
(file)
--- a/
tests/test_string_bytes.nit
+++ b/
tests/test_string_bytes.nit
@@
-28,24
+28,5
@@
print z.bytes.reverse_iterator.to_a
var b = new FlatBuffer.from(x)
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