File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
branches/auto/src/libcore Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 96cb0dc8a0804256c8620dfabaa415be99562ccc
17
+ refs/heads/auto: c1eb539e124771a3e7618d9879345ea6a6cf3ed9
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
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