Closed
Description
---- fs::tests::read_link stdout ----
thread 'fs::tests::read_link' panicked at 'assertion failed: `(left == right)`
left: `"c:\\ProgramData"`,
right: `"C:\\ProgramData"`', library\std\src\fs\tests.rs:836:9
The failing assert is
// directory symlink
assert_eq!(
check!(fs::read_link(r"C:\Users\All Users")).to_str().unwrap(),
r"C:\ProgramData"
);
I don't know why my Windows is special in this way and the All Users
symlink contains the drive letter C
in lowercase, this version of Windows was pre-installed on an HP laptop.
Anyway, the Rust test suite fails due to this easily fixable mismatch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment