nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Split collections into readable and writable
[nit.git]
/
tests
/
test_create_more.nit
diff --git
a/tests/test_create_more.nit
b/tests/test_create_more.nit
index
1b0fd1c
..
c1a0252
100644
(file)
--- a/
tests/test_create_more.nit
+++ b/
tests/test_create_more.nit
@@
-47,9
+47,9
@@
class A
do
var s = _num.to_s
if _attribute == null then
- s.add('\n')
+ s += "\n"
else
- s.append(_attribute.to_s)
+ s += _attribute.to_s
end
return s
end