Add comment around sha256d_flush test

This commit is contained in:
Deirdre Connolly 2020-02-04 03:49:56 -05:00 committed by Deirdre Connolly
parent 4fcb66ad3b
commit a79969b38f
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ mod tests {
use crate::sha256d_writer::Sha256dWriter;
#[test]
// Just checking that `flush()` succeeds without error.
fn sha256d_flush() {
let preimage = b"foo bar baz";
let mut sha_writer = Sha256dWriter::default();