X-Git-Url: http://nitlanguage.org diff --git a/tests/example_procedural_string.nit b/tests/example_procedural_string.nit index aabe239..a53669d 100644 --- a/tests/example_procedural_string.nit +++ b/tests/example_procedural_string.nit @@ -14,15 +14,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -#alt1 import standard -#alt1 import standard::text::ropes - # A procedural program (without explicit class). fun first_word(s: String): String do var result: Buffer = new FlatBuffer - #alt1 result = new RopeBuffer var i = 0 while i < s.length and s.chars[i] != ' ' do result.add(s.chars[i])