Skip to content

Commit f26568c

Browse files
committed
Commit suggestion.
1 parent d0aed08 commit f26568c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ fn u16_into_status_code_in_http_types_error() {
115115
fn fail_test_u16_into_status_code_in_http_types_error_new() {
116116
let _http_types_error = Error::new(
117117
1000,
118-
io::Error::new(io::ErrorKind::Other, "Un Existed Status Code"),
118+
io::Error::new(io::ErrorKind::Other, "Incorrect status code"),
119119
);
120120
}
121121

122122
#[test]
123123
#[should_panic]
124124
fn fail_test_u16_into_status_code_in_http_types_error_from_str() {
125-
let _http_types_error = Error::from_str(1000, "Un Existed");
125+
let _http_types_error = Error::from_str(1000, "Incorrect status code");
126126
}

0 commit comments

Comments
 (0)