fix: actually clear buffer in TestBackend::clear (#461)

This commit is contained in:
Alexandru Scvortov 2021-05-02 21:35:08 +01:00 committed by GitHub
parent 1028d39db0
commit d47565be5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,7 @@ impl Backend for TestBackend {
}
fn clear(&mut self) -> Result<(), io::Error> {
self.buffer.reset();
Ok(())
}