nitunit: add a test to show how non-local redefinition of before/after methods should...
[nit.git] / tests / test_string_unicode.nit
index 9a576c7..4b09f4d 100644 (file)
@@ -17,5 +17,5 @@
 var a = "éè"
 print(a.length)
 for i in [0..a.length[ do
-       print("{i} is {a[i]} ({a[i].ascii})")
+       print("{i} is {a.chars[i]} ({a.chars[i].code_point})")
 end