Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / test_arr_tos_ropes.nit
index f9a416d..3165543 100644 (file)
 # 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