We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c7878 commit 83b308eCopy full SHA for 83b308e
src/libcollectionstest/str.rs
@@ -697,11 +697,11 @@ fn test_escape_default() {
697
698
#[test]
699
fn test_total_ord() {
700
- "1234".cmp("123") == Greater;
701
- "123".cmp("1234") == Less;
702
- "1234".cmp("1234") == Equal;
703
- "12345555".cmp("123456") == Less;
704
- "22".cmp("1234") == Greater;
+ assert_eq!("1234".cmp("123"), Greater);
+ assert_eq!("123".cmp("1234"), Less);
+ assert_eq!("1234".cmp("1234"), Equal);
+ assert_eq!("12345555".cmp("123456"), Less);
+ assert_eq!("22".cmp("1234"), Greater);
705
}
706
707
0 commit comments