tests: Added Unicode sources to regex test
[nit.git] / tests / example_string.nit
index aad8297..1264a67 100644 (file)
@@ -19,7 +19,7 @@
 # It exhibs ways to concatenate strings.
 
 #alt1 import standard
-#alt1 import standard::ropes
+#alt1 import standard::text::ropes
 
 var a = 10
 # First way: Multiple parameters.
@@ -49,4 +49,4 @@ printn("The value of a is: " + a.to_s + ".\n")
 # Fiveth way: Join arrays.
 # Pro: Sometime efficient on complex concatenation.
 # Con: Crazy.
-printn(["The value of a is: ", a.to_s, ".\n"].join(""))
+printn(["The value of a is: ", a.to_s, ".\n"].join)