Fix tests.
This commit is contained in:
parent
3e08160653
commit
65b7135324
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user