mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
dd38e55468
std fs tests: avoid matching on OS-provided error string These tests are [ancient](https://github.com/rust-lang/rust/commit/6bfbad937bdf578e35777d079f8dcfab49758041). No idea why there written in this style back then, but today we'd clearly check the `ErrorKind`, not the string. r? @ChrisDenton