We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79c453 commit 3cd13cbCopy full SHA for 3cd13cb
tests/run-pass/fs.rs
@@ -80,6 +80,7 @@ fn test_seek() {
80
let mut file = File::open(&path).unwrap();
81
let mut contents = Vec::new();
82
file.read_to_end(&mut contents).unwrap();
83
+ assert_eq!(bytes, contents.as_slice());
84
// Test that seeking to the beginning and reading until EOF gets the text again.
85
file.seek(SeekFrom::Start(0)).unwrap();
86
0 commit comments