Commit f5b64a3
authored
Fix macro expansion failure for a non-copyable suite type with a
If a non-copyable suite type has a test function whose name starts with
`test`, we emit a call to `__invokeXCTestCaseMethod()` that's a no-op
(but we can't tell during macro expansion if it will be.) This function
needs to be updated to accept a non-copyable generic type.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.test method. (#739)1 parent 1b04184 commit f5b64a3
File tree
2 files changed
+2
-1
lines changed- Sources/Testing
- Tests/TestingTests
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments