Skip to content

Commit

Permalink
Improve tests of incremental file writes
Browse files Browse the repository at this point in the history
  • Loading branch information
rbtcollins committed May 7, 2021
1 parent 5b8099d commit cbd1c84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/diskio/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ fn test_incremental_file(io_threads: &str) -> Result<()> {
}
Ok(())
})?;
// We should be able to read back the file
assert_eq!(
std::fs::read_to_string(work_dir.path().join("scratch"))?,
"01234567890123456789".to_string()
);
Ok(())
}

Expand Down

0 comments on commit cbd1c84

Please sign in to comment.