Skip to content

Commit

Permalink
Improved test output for estr-slice
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsayan committed Mar 15, 2019
1 parent 2f52388 commit e9e5a75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/run-pass/array-slice-vec/estr-slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn main() {

let z : &str = "thing";
assert_eq!(v, x);
assert!(x != z);
assert_ne!(x, z);

let a = "aaaa";
let b = "bbbb";
Expand All @@ -26,23 +26,23 @@ pub fn main() {

assert!(a < b);
assert!(a <= b);
assert!(a != b);
assert_ne!(a, b);
assert!(b >= a);
assert!(b > a);

println!("{}", b);

assert!(a < c);
assert!(a <= c);
assert!(a != c);
assert_ne!(a, c);
assert!(c >= a);
assert!(c > a);

println!("{}", c);

assert!(c < cc);
assert!(c <= cc);
assert!(c != cc);
assert_ne!(c, cc);
assert!(cc >= c);
assert!(cc > c);

Expand Down

0 comments on commit e9e5a75

Please sign in to comment.