Skip to content

Commit 2d1ef2b

Browse files
committed
---
yaml --- r: 65050 b: refs/heads/master c: c1eb539 h: refs/heads/master v: v3
1 parent a967d77 commit 2d1ef2b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 96cb0dc8a0804256c8620dfabaa415be99562ccc
2+
refs/heads/master: c1eb539e124771a3e7618d9879345ea6a6cf3ed9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libcore/tuple.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -397,24 +397,24 @@ impl_n_tuple!(Tuple12:
397397
#[test]
398398
fn test_tuple_ref() {
399399
let x = (~"foo", ~"bar");
400-
assert!(x.first_ref() == &~"foo");
401-
assert!(x.second_ref() == &~"bar");
400+
assert_eq!(x.first_ref(), &~"foo");
401+
assert_eq!(x.second_ref(), &~"bar");
402402
}
403403
404404
#[test]
405405
#[allow(non_implicitly_copyable_typarams)]
406406
fn test_tuple() {
407-
assert!((948, 4039.48).first() == 948);
408-
assert!((34.5, ~"foo").second() == ~"foo");
409-
assert!(('a', 2).swap() == (2, 'a'));
407+
assert_eq!((948, 4039.48).first(), 948);
408+
assert_eq!((34.5, ~"foo").second(), ~"foo");
409+
assert_eq!(('a', 2).swap(), (2, 'a'));
410410
}
411411
412412
#[test]
413413
fn test_clone() {
414414
let a = (1, ~"2");
415415
let b = a.clone();
416-
assert!(a.first() == b.first());
417-
assert!(a.second() == b.second());
416+
assert_eq!(a.first(), b.first());
417+
assert_eq!(a.second(), b.second());
418418
}
419419

420420
#[test]

0 commit comments

Comments
 (0)