nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core::hash_collection: native array storage is no more nullable
[nit.git]
/
tests
/
test_string_unicode.nit
diff --git
a/tests/test_string_unicode.nit
b/tests/test_string_unicode.nit
index
9a576c7
..
4b09f4d
100644
(file)
--- a/
tests/test_string_unicode.nit
+++ b/
tests/test_string_unicode.nit
@@
-17,5
+17,5
@@
var a = "éè"
print(a.length)
for i in [0..a.length[ do
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
end