nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: delete the `shoot` game
[nit.git]
/
tests
/
test_nativestring_fill_from.nit
diff --git
a/tests/test_nativestring_fill_from.nit
b/tests/test_nativestring_fill_from.nit
index
51d917b
..
91aa315
100644
(file)
--- a/
tests/test_nativestring_fill_from.nit
+++ b/
tests/test_nativestring_fill_from.nit
@@
-24,4
+24,4
@@
var cpstr: Text = src_s
var ns = new CString(cpstr.byte_length)
ns.fill_from(cpstr)
-print ns.to_s_with_length(cpstr.byte_length)
+print ns.to_s_unsafe(cpstr.byte_length, copy=false)