File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 96cb0dc8a0804256c8620dfabaa415be99562ccc
2
+ refs/heads/master: c1eb539e124771a3e7618d9879345ea6a6cf3ed9
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
Original file line number Diff line number Diff line change @@ -397,24 +397,24 @@ impl_n_tuple!(Tuple12:
397
397
#[ test]
398
398
fn test_tuple_ref ( ) {
399
399
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");
402
402
}
403
403
404
404
#[test]
405
405
#[allow(non_implicitly_copyable_typarams)]
406
406
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'));
410
410
}
411
411
412
412
#[test]
413
413
fn test_clone() {
414
414
let a = (1, ~" 2 " ) ;
415
415
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( ) ) ;
418
418
}
419
419
420
420
#[ test]
You can’t perform that action at this time.
0 commit comments