Loading crates/s3s/src/http/keep_alive_body.rs +4 −1 Original line number Diff line number Diff line Loading @@ -156,6 +156,9 @@ mod tests { let buf = aggregated.to_bytes(); assert_eq!(buf, b" hello world".as_slice()); let ans1 = b" hello world"; let ans2 = b" hello world"; assert!(buf.as_ref() == ans1 || buf.as_ref() == ans2, "buf: {buf:?}"); } } crates/s3s/src/http/ser.rs +1 −1 Original line number Diff line number Diff line Loading @@ -4,8 +4,8 @@ use super::Response; use crate::dto::SelectObjectContentEventStream; use crate::dto::{Metadata, StreamingBlob, Timestamp, TimestampFormat}; use crate::error::{S3Error, S3Result}; use crate::http::{HeaderName, HeaderValue}; use crate::http::KeepAliveBody; use crate::http::{HeaderName, HeaderValue}; use crate::utils::format::fmt_timestamp; use crate::xml; use crate::StdError; Loading Loading
crates/s3s/src/http/keep_alive_body.rs +4 −1 Original line number Diff line number Diff line Loading @@ -156,6 +156,9 @@ mod tests { let buf = aggregated.to_bytes(); assert_eq!(buf, b" hello world".as_slice()); let ans1 = b" hello world"; let ans2 = b" hello world"; assert!(buf.as_ref() == ans1 || buf.as_ref() == ans2, "buf: {buf:?}"); } }
crates/s3s/src/http/ser.rs +1 −1 Original line number Diff line number Diff line Loading @@ -4,8 +4,8 @@ use super::Response; use crate::dto::SelectObjectContentEventStream; use crate::dto::{Metadata, StreamingBlob, Timestamp, TimestampFormat}; use crate::error::{S3Error, S3Result}; use crate::http::{HeaderName, HeaderValue}; use crate::http::KeepAliveBody; use crate::http::{HeaderName, HeaderValue}; use crate::utils::format::fmt_timestamp; use crate::xml; use crate::StdError; Loading