libcore Fix the tuple first_ref test
This commit is contained in:
parent
e05b5dd053
commit
0e7571b060
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user