Skip to content

Commit 80fdbaa

Browse files
committed
Fix test
1 parent d9a84f0 commit 80fdbaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pass/shims/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ fn test_pread_pwrite() {
342342

343343
// Ensure that cursor position is not changed
344344
f.read_exact(&mut buf1).unwrap();
345-
assert_eq!(&buf2, b" m");
345+
assert_eq!(&buf1, b" m");
346346

347347
Ok(())
348348
}

0 commit comments

Comments
 (0)