Skip to content

Commit cbd1c84

Browse files
committed
Improve tests of incremental file writes
1 parent 5b8099d commit cbd1c84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/diskio/test.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ fn test_incremental_file(io_threads: &str) -> Result<()> {
6666
}
6767
Ok(())
6868
})?;
69+
// We should be able to read back the file
70+
assert_eq!(
71+
std::fs::read_to_string(work_dir.path().join("scratch"))?,
72+
"01234567890123456789".to_string()
73+
);
6974
Ok(())
7075
}
7176

0 commit comments

Comments
 (0)