Skip to content

Improved test output #59206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 16, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Improved test output for estr-slice
  • Loading branch information
ohsayan committed Mar 15, 2019
commit e9e5a75fd2bc5f7908642129aa462ee15ce17a3b
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