Skip to content

Commit 2d072e4

Browse files
authored
Commands/SwiftTestTool.swift: update TestCaseSpecifier doc comments (#6604)
Cases of this enum didn't have its doc comments attached, as those where collected in a single comment for the enum itself. Attaching comments to specific cases makes them renderable in IDEs and DocC.
1 parent 706d1f1 commit 2d072e4

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Sources/Commands/SwiftTestTool.swift

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,18 @@ struct TestToolOptions: ParsableArguments {
125125
var enableCodeCoverage: Bool = false
126126
}
127127

128-
/// Tests filtering specifier
129-
///
130-
/// This is used to filter tests to run
131-
/// .none => No filtering
132-
/// .specific => Specify test with fully quantified name
133-
/// .regex => RegEx patterns for tests to run
134-
/// .skip => RegEx patterns for tests to skip
128+
/// Tests filtering specifier, which is used to filter tests to run.
135129
public enum TestCaseSpecifier {
130+
/// No filtering
136131
case none
132+
133+
/// Specify test with fully quantified name
137134
case specific(String)
135+
136+
/// RegEx patterns for tests to run
138137
case regex([String])
138+
139+
/// RegEx patterns for tests to skip
139140
case skip([String])
140141
}
141142

0 commit comments

Comments
 (0)