Skip to content

Commit

Permalink
WP/18-slice-blake3-test-update
Browse files Browse the repository at this point in the history
  • Loading branch information
rustchain64 committed Apr 12, 2023
1 parent 6b77b22 commit 657c120
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ async fn file_read() -> Result<()> {
let blake3_hash = write_file(&Secp256k1PubKey(pk), &file_bytes).await?;

let new_file_bytes = read_file(&Secp256k1PubKey(pk), &blake3_hash).await?;
debug!(">>> READ FILE REURNS:: bytes read :: {:?}", new_file_bytes);
debug!(
">>> READ FILE REURNS:: bytes read :: {:?}",
new_file_bytes.len()
);

Ok(())
}
Expand All @@ -54,7 +57,7 @@ async fn check_catalog_exists() -> Result<()> {
debug!("{} new bytes read", new_file_bytes.len());

let new_file_bytes = delete_file(Secp256k1PubKey(pk), &file_bytes).is_err();
debug!("Write Delete:: deleted file:: {:?}", new_file_bytes);
debug!("deleted files:: {:?}", new_file_bytes);

debug!(" >>>> Public Key Generated :: {:?} :: {}", _sk, pk);
info!("Write/Delete test finished successfully!");
Expand Down

0 comments on commit 657c120

Please sign in to comment.