Skip to content

Commit b97b576

Browse files
authored
Merge pull request #1159 from swiftlang/revert-1142-main
Revert "Update outdated Suite macro documentation"
2 parents 8471b1f + 7c672ab commit b97b576

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Sources/Testing/Test+Macro.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ public typealias __XCTestCompatibleSelector = Never
5353
/// - Parameters:
5454
/// - traits: Zero or more traits to apply to this test suite.
5555
///
56-
/// A test suite is a type that contains one or more test functions.
57-
/// Any type may be a test suite.
56+
/// A test suite is a type that contains one or more test functions. Any
57+
/// escapable type (that is, any type that is not marked `~Escapable`) may be a
58+
/// test suite.
5859
///
5960
/// The use of the `@Suite` attribute is optional; types are recognized as test
6061
/// suites even if they do not have the `@Suite` attribute applied to them.
@@ -80,8 +81,9 @@ public macro Suite(
8081
/// from the associated type's name.
8182
/// - traits: Zero or more traits to apply to this test suite.
8283
///
83-
/// A test suite is a type that contains one or more test functions.
84-
/// Any type may be a test suite.
84+
/// A test suite is a type that contains one or more test functions. Any
85+
/// escapable type (that is, any type that is not marked `~Escapable`) may be a
86+
/// test suite.
8587
///
8688
/// The use of the `@Suite` attribute is optional; types are recognized as test
8789
/// suites even if they do not have the `@Suite` attribute applied to them.

0 commit comments

Comments
 (0)