forked from lavina/lavina
fix
This commit is contained in:
parent
0ce1342032
commit
45fda1adb0
|
@ -44,7 +44,6 @@ impl<'a> TestScope<'a> {
|
||||||
|
|
||||||
async fn send(&mut self, str: &str) -> Result<()> {
|
async fn send(&mut self, str: &str) -> Result<()> {
|
||||||
self.writer.write_all(str.as_bytes()).await?;
|
self.writer.write_all(str.as_bytes()).await?;
|
||||||
self.writer.write_all(b"\n").await?;
|
|
||||||
self.writer.flush().await?;
|
self.writer.flush().await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -94,7 +93,6 @@ impl<'a> TestScopeTls<'a> {
|
||||||
|
|
||||||
async fn send(&mut self, str: &str) -> Result<()> {
|
async fn send(&mut self, str: &str) -> Result<()> {
|
||||||
self.writer.write_all(str.as_bytes()).await?;
|
self.writer.write_all(str.as_bytes()).await?;
|
||||||
self.writer.write_all(b"\n").await?;
|
|
||||||
self.writer.flush().await?;
|
self.writer.flush().await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue