Skip to content

Commit 87c1bba

Browse files
committed
fix macos empty metadata test
1 parent 34d175a commit 87c1bba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/run-pass/fs.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ fn test_metadata(bytes: &[u8], path: &Path) -> Result<()> {
1818

1919
// FIXME: Implement stat64 for macos.
2020
#[cfg(not(target_os = "linux"))]
21-
fn test_metadata(_bytes: &[u8], _path: &Path) {}
21+
fn test_metadata(_bytes: &[u8], _path: &Path) -> Result<()> {
22+
Ok(())
23+
}
2224

2325
fn main() {
2426
let tmp = std::env::temp_dir();

0 commit comments

Comments
 (0)