Skip to content

Commit

Permalink
fix(tests): iter.connect() is now iter.join()
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jul 23, 2015
1 parent 3bd0635 commit d2e8b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ mod tests {
// hashmap's iterators have arbitrary order, so we must sort first
let mut pieces = s.split("\r\n").collect::<Vec<&str>>();
pieces.sort();
let s = pieces.into_iter().rev().collect::<Vec<&str>>().connect("\r\n");
let s = pieces.into_iter().rev().collect::<Vec<&str>>().join("\r\n");
assert_eq!(s, "Host: foo.bar\r\nContent-Length: 15\r\n");
}

Expand Down

0 comments on commit d2e8b5d

Please sign in to comment.