diff options
| author | Paul Mabileau <paul.mabileau@harfanglab.fr> | 2025-05-16 22:49:00 +0200 |
|---|---|---|
| committer | Paul Mabileau <paul.mabileau@harfanglab.fr> | 2025-05-28 12:06:25 +0200 |
| commit | 0dd5722d6790be37b310c2e578be4f162d2be6ef (patch) | |
| tree | 0441538ddbb1154cf6388b7e87143c0981af16f4 /tests/rustdoc-js-std/parser-errors.js | |
| parent | cb678b94c332548e3c3cefc22637929004c975d6 (diff) | |
| download | rust-0dd5722d6790be37b310c2e578be4f162d2be6ef.tar.gz rust-0dd5722d6790be37b310c2e578be4f162d2be6ef.zip | |
Test(fs): Fix test_eq_windows_file_type for Windows 7
Would otherwise fail on:
```
thread 'fs::tests::test_eq_windows_file_type' panicked at library/std/src/test_helpers.rs:53:20:
called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }
```
This came from the read-only attribute set on the test file. In order to
fix this, instead of simply disabling the test, the attribute is reset
before the test's end so it may still run successfully.
Signed-off-by: Paul Mabileau <paul.mabileau@harfanglab.fr>
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
