Skip to content

Commit 3cd13cb

Browse files
committed
test a bit more
1 parent f79c453 commit 3cd13cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/run-pass/fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ fn test_seek() {
8080
let mut file = File::open(&path).unwrap();
8181
let mut contents = Vec::new();
8282
file.read_to_end(&mut contents).unwrap();
83+
assert_eq!(bytes, contents.as_slice());
8384
// Test that seeking to the beginning and reading until EOF gets the text again.
8485
file.seek(SeekFrom::Start(0)).unwrap();
8586
let mut contents = Vec::new();

0 commit comments

Comments
 (0)