Commit 2c60dd6
authored
Remove unused "override comment" from ConditionTrait implementation (#1036)
This removes a mechanism in the implementation of `ConditionTrait` for a
condition closure to provide an "override" comment.
### Motivation:
While reviewing a draft evolution proposal for `ConditionTrait`
(swiftlang/swift-evolution#2740) I realized that
we don't use this "comment override" mechanism anywhere in the testing
library. I believe we did back when it was first added, but it's no
longer used.
Removing this would allow the public API being proposed above to be
simplified: the `evaluate()` method could return `Bool` instead of a
tuple.
### 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.1 parent ee700e2 commit 2c60dd6
1 file changed
+6
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 29 | + | |
| 30 | + | |
49 | 31 | | |
50 | 32 | | |
51 | 33 | | |
| |||
82 | 64 | | |
83 | 65 | | |
84 | 66 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 67 | + | |
89 | 68 | | |
90 | | - | |
| 69 | + | |
91 | 70 | | |
92 | | - | |
| 71 | + | |
93 | 72 | | |
94 | 73 | | |
95 | 74 | | |
| |||
99 | 78 | | |
100 | 79 | | |
101 | 80 | | |
102 | | - | |
| 81 | + | |
103 | 82 | | |
104 | 83 | | |
105 | 84 | | |
| |||
0 commit comments