nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: world_camera position defaults to 1080 pixels in height
[nit.git]
/
tests
/
test_copy_to_native.nit
diff --git
a/tests/test_copy_to_native.nit
b/tests/test_copy_to_native.nit
index
f7ab36f
..
d52d920
100644
(file)
--- a/
tests/test_copy_to_native.nit
+++ b/
tests/test_copy_to_native.nit
@@
-25,4
+25,4
@@
var str: String = base_str
var copy_len = (str.byte_length - 4).min(9)
str.copy_to_native(ons, copy_len, 4, 0)
-print ons.to_s_with_length(copy_len)
+print ons.to_s_unsafe(copy_len, copy=false)