libcore Fix the tuple first_ref test
This commit is contained in:
@@ -165,7 +165,7 @@ impl<A: Ord, B: Ord, C: Ord> (A, B, C) : Ord {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_tuple_ref() {
|
fn test_tuple_ref() {
|
||||||
let (~"foo", ~"bar");
|
let x = (~"foo", ~"bar");
|
||||||
assert x.first_ref() == &~"foo";
|
assert x.first_ref() == &~"foo";
|
||||||
assert x.second_ref() == &~"bar";
|
assert x.second_ref() == &~"bar";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user