Commit 54ddf276 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix stupid bug in strcalc unittest

parent 10cdd325
......@@ -144,7 +144,7 @@ int main(void)
};
for (unsigned i = 0; i < ARRAY_SIZE(vals); ++i) {
/* test neutral elements */
const sc_word *val = vals[0];
const sc_word *val = vals[i];
sc_add(val, zero, temp);
assert(equal(temp, val));
sc_add(zero, val, temp);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment