diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-05-29 04:49:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-29 04:49:40 +0200 |
| commit | d9ed86729bdf70a588aec49cdd0576ed73bdb3ff (patch) | |
| tree | 1bd5ff97f42b3c6f334746e8dcbab4d792a9eb1c /tests/rustdoc-js-std/parser-errors.js | |
| parent | 394fde04a85212014faf84044be4e4237c03c603 (diff) | |
| parent | 0dd5722d6790be37b310c2e578be4f162d2be6ef (diff) | |
| download | rust-d9ed86729bdf70a588aec49cdd0576ed73bdb3ff.tar.gz rust-d9ed86729bdf70a588aec49cdd0576ed73bdb3ff.zip | |
Rollup merge of #141104 - PaulDance:fix-win7-test_eq_windows_file_type, r=ChrisDenton
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.
`@rustbot` label T-libs A-filesystem A-testsuite O-windows-7 O-windows-msvc
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
