about summary refs log tree commit diff
path: root/src/liballoc/tests
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-03-16 14:57:03 +0800
committerkennytm <kennytm@gmail.com>2019-03-16 22:40:57 +0800
commit6d4b7fa0cff6bfe16082fec1d891f0398aed0c24 (patch)
tree0ccab0714e313e269c006fec306c070f16c06622 /src/liballoc/tests
parent2e1104fd9305dd7427da6978b02fdb4428543d60 (diff)
parente9e5a75fd2bc5f7908642129aa462ee15ce17a3b (diff)
downloadrust-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.rs2
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]