Commit bdfd754
authored
Rename remaining occurrences of the old helper. (#8583)
Rename remaining occurrences of the old helper.
### Motivation:
My local test failed to build after #8569 with
```
…/Tests/WorkspaceTests/WorkspaceTests.swift:16148:13: error: cannot find 'skipOnWindowsAsTestCurrentlyFails' in scope
16146 |
16147 | func testInvalidTrait_WhenParentPackageEnablesTraits() async throws {
16148 | try skipOnWindowsAsTestCurrentlyFails(because: #"\tmp\ws doesn't exist in file system"#)
| `- error: cannot find 'skipOnWindowsAsTestCurrentlyFails' in scope
16149 |
16150 | let sandbox = AbsolutePath("/tmp/ws/")
```
I checked, and it appears to be leftovers after #8569:
```
% rg skipOnWindowsAsTestCurrentlyFails
Tests/WorkspaceTests/WorkspaceTests.swift
16148: try skipOnWindowsAsTestCurrentlyFails(because: #"\tmp\ws doesn't exist in file system"#)
16211: try skipOnWindowsAsTestCurrentlyFails(because: #"\tmp\ws doesn't exist in file system"#)
```
### Modifications:
Renamed `skipOnWindowsAsTestCurrentlyFails` to `XCTSkipOnWindows`.
### Result:
Tests build and pass.1 parent 072bf1a commit bdfd754
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16145 | 16145 | | |
16146 | 16146 | | |
16147 | 16147 | | |
16148 | | - | |
| 16148 | + | |
16149 | 16149 | | |
16150 | 16150 | | |
16151 | 16151 | | |
| |||
16208 | 16208 | | |
16209 | 16209 | | |
16210 | 16210 | | |
16211 | | - | |
| 16211 | + | |
16212 | 16212 | | |
16213 | 16213 | | |
16214 | 16214 | | |
| |||
0 commit comments