nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
asteronits: convert sound effect from a broken mp3 to ogg
[nit.git]
/
tests
/
test_arr_tos_ropes.nit
diff --git
a/tests/test_arr_tos_ropes.nit
b/tests/test_arr_tos_ropes.nit
index
f9a416d
..
3165543
100644
(file)
--- a/
tests/test_arr_tos_ropes.nit
+++ b/
tests/test_arr_tos_ropes.nit
@@
-12,8
+12,10
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-var rp: String = new RopeString.from("xxx")
-rp += "yyy"
+import core
+intrude import core::text::ropes
+
+var rp: String = new Concat("xxx", "yyy")
rp += "zzz"
var arr = ["FlatString", rp]
print arr.to_s
rp += "zzz"
var arr = ["FlatString", rp]
print arr.to_s