Skip to content

Commit 9015405

Browse files
authored
Revert "Update outdated Suite macro documentation (#1142)"
This reverts commit 25b61ef.
1 parent 8471b1f commit 9015405

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+
/// copyable type (that is, any type that is not marked `~Copyable`) 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+
/// copyable type (that is, any type that is not marked `~Copyable`) 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)