libcore Fix the tuple first_ref test

This commit is contained in:
Erick Tryzelaar 2012-10-07 20:30:17 -07:00
parent e05b5dd053
commit 0e7571b060

View File

@ -165,7 +165,7 @@ impl<A: Ord, B: Ord, C: Ord> (A, B, C) : Ord {
#[test]
fn test_tuple_ref() {
let (~"foo", ~"bar");
let x = (~"foo", ~"bar");
assert x.first_ref() == &~"foo";
assert x.second_ref() == &~"bar";
}