nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: add test for --readme option from nitmetrics
[nit.git]
/
tests
/
bench_string_super.nit
diff --git
a/tests/bench_string_super.nit
b/tests/bench_string_super.nit
index
c78f448
..
be157b3
100644
(file)
--- a/
tests/bench_string_super.nit
+++ b/
tests/bench_string_super.nit
@@
-23,4
+23,4
@@
while i < n do
s = "Je dis «{s}» et redis «{s}» et trois fois de plus : «{s}{s}{s}».\n"
i = i + 1
end
-print(s.length)
+print s.byte_length