Fix tests.

This commit is contained in:
Stephen Chung 2021-06-07 11:54:10 +08:00
parent 3e08160653
commit 65b7135324
3 changed files with 19 additions and 19 deletions

View File

@ -251,7 +251,7 @@ fn test_for_string() -> Result<(), Box<EvalAltResult>> {
let s = "hello";
let sum = 0;
for ch in s.chars() {
for ch in chars(s) {
sum += to_int(ch);
}