diff options
| author | kennytm <kennytm@gmail.com> | 2019-03-16 14:57:03 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2019-03-16 22:40:57 +0800 |
| commit | 6d4b7fa0cff6bfe16082fec1d891f0398aed0c24 (patch) | |
| tree | 0ccab0714e313e269c006fec306c070f16c06622 /src/liballoc/tests | |
| parent | 2e1104fd9305dd7427da6978b02fdb4428543d60 (diff) | |
| parent | e9e5a75fd2bc5f7908642129aa462ee15ce17a3b (diff) | |
| download | rust-6d4b7fa0cff6bfe16082fec1d891f0398aed0c24.tar.gz rust-6d4b7fa0cff6bfe16082fec1d891f0398aed0c24.zip | |
Rollup merge of #59206 - sntdevco:master, r=dtolnay
Improved test output
Diffstat (limited to 'src/liballoc/tests')
| -rw-r--r-- | src/liballoc/tests/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/tests/str.rs b/src/liballoc/tests/str.rs index f2dc19a4229..b197516403f 100644 --- a/src/liballoc/tests/str.rs +++ b/src/liballoc/tests/str.rs @@ -7,7 +7,7 @@ fn test_le() { assert!("" <= ""); assert!("" <= "foo"); assert!("foo" <= "foo"); - assert!("foo" != "bar"); + assert_ne!("foo", "bar"); } #[test] |
