Skip to content

Commit 9445f2b

Browse files
committed
Improved test output for liballoc/str
1 parent 70d1150 commit 9445f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/tests/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn test_le() {
77
assert!("" <= "");
88
assert!("" <= "foo");
99
assert!("foo" <= "foo");
10-
assert!("foo" != "bar");
10+
assert_ne!("foo", "bar");
1111
}
1212

1313
#[test]

0 commit comments

Comments
 (0)