Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / test_string_long.nit
index 6bfb034..2e03070 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-#alt1 import standard
-#alt1 import standard::ropes
-
 var s = "Bonjour !\n"
 var r: Buffer = new FlatBuffer.with_capacity(50)
-#alt1 r = new RopeBuffer
 var r2: Buffer = new FlatBuffer
-#alt1 r2 = new RopeBuffer
 
 var i = 0
-while i < 5000 do
+while i < 1000 do
     var j = 0
     while j < s.length do
         r.add(s.chars[j])