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 312f460 commit 44a0faeCopy full SHA for 44a0fae
test/test_sendfile.rs
@@ -258,7 +258,7 @@ fn test_sendfilev() {
258
+ &trailer_strings.concat();
259
260
// Verify the message that was sent
261
- assert_eq!(bytes_written, expected_string.as_bytes().len());
+ assert_eq!(bytes_written, expected_string.len());
262
263
let mut read_string = String::new();
264
let bytes_read = rd.read_to_string(&mut read_string).unwrap();
0 commit comments