scope: refuse `&x` where x is a local variable
[nit.git] / tests / test_text.nit
index ea3db1e..2d636fb 100644 (file)
@@ -13,7 +13,6 @@
 # limitations under the License.
 
 #alt2 import core
-#alt2 import buffered_ropes
 
 var str = "Woe to you, oh earth and sea for the Devil sends the beast with wrath because he knows the time is short. Let him who hath understanding reckon the number of the beast, for it is a human number, its number is Six Hundred and Sixty-Six."
 var spaces = "           "
@@ -33,12 +32,6 @@ num = numstr
 #alt1 trimable.append(spaces)
 #alt1 num = new FlatBuffer.from(numstr)
 
-#alt3 txt = new RopeBuffer.from(str)
-#alt3 trimable = new RopeBuffer.from(spaces)
-#alt3 trimable.append(str)
-#alt3 trimable.append(spaces)
-#alt3 num = new RopeBuffer.from(numstr)
-
 # Test Text methods on all types of receivers
 
 print txt.substring(0, 105)