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 d0aed08 commit f26568cCopy full SHA for f26568c
tests/error.rs
@@ -115,12 +115,12 @@ fn u16_into_status_code_in_http_types_error() {
115
fn fail_test_u16_into_status_code_in_http_types_error_new() {
116
let _http_types_error = Error::new(
117
1000,
118
- io::Error::new(io::ErrorKind::Other, "Un Existed Status Code"),
+ io::Error::new(io::ErrorKind::Other, "Incorrect status code"),
119
);
120
}
121
122
#[test]
123
#[should_panic]
124
fn fail_test_u16_into_status_code_in_http_types_error_from_str() {
125
- let _http_types_error = Error::from_str(1000, "Un Existed");
+ let _http_types_error = Error::from_str(1000, "Incorrect status code");
126
0 commit comments