Skip to content

Commit

Permalink
fix test results
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Oct 13, 2023
1 parent cdb675d commit e6d2512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rama/src/transport/bytes/service/echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::transport::bytes::ByteStream;
/// # let stream = tokio_test::io::Builder::new().read(b"hello world").write(b"hello world").build();
/// let mut service = EchoService::new();
///
/// let bytes_copied = service.call(conn).await?;
/// let bytes_copied = service.call(stream).await?;
/// # assert_eq!(bytes_copied, 11);
/// # Ok(())
/// # }
Expand Down
2 changes: 1 addition & 1 deletion rama/src/transport/bytes/service/forward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::transport::bytes::ByteStream;
/// # let stream = tokio_test::io::Builder::new().read(b"hello world").write(b"hello world").build();
/// let mut service = ForwardService::new(destination);
///
/// let (bytes_copied_to, bytes_copied_from) = service.call(conn).await?;
/// let (bytes_copied_to, bytes_copied_from) = service.call(stream).await?;
/// # assert_eq!(bytes_copied_to, 11);
/// # assert_eq!(bytes_copied_from, 11);
/// # Ok(())
Expand Down

0 comments on commit e6d2512

Please sign in to comment.