diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-11 23:54:26 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-12 12:14:07 -0700 |
| commit | f9623f00567ac0a9ca86abc84613d90d113dbc2b (patch) | |
| tree | 391a0c071c9f1dc4071ffdceb41abfe77e480fa1 /src/test/stdtest | |
| parent | 235109f8d21727748dd70fa2e2763eb050161ab0 (diff) | |
| download | rust-f9623f00567ac0a9ca86abc84613d90d113dbc2b.tar.gz rust-f9623f00567ac0a9ca86abc84613d90d113dbc2b.zip | |
Remove vecs from std::sha1
Diffstat (limited to 'src/test/stdtest')
| -rw-r--r-- | src/test/stdtest/sha1.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/stdtest/sha1.rs b/src/test/stdtest/sha1.rs index ffd414a17f7..7afd5e5bfab 100644 --- a/src/test/stdtest/sha1.rs +++ b/src/test/stdtest/sha1.rs @@ -76,7 +76,7 @@ fn test() { let sh = sha1::mk_sha1(); for t: test in tests { sh.input_str(t.input); - let out = sh.result_ivec(); + let out = sh.result(); check_vec_eq(t.output, out); sh.reset(); } @@ -91,7 +91,7 @@ fn test() { sh.input_str(str::substr(t.input, len - left, take)); left = left - take; } - let out = sh.result_ivec(); + let out = sh.result(); check_vec_eq(t.output, out); sh.reset(); } |
