Skip to content

Commit 25b61ef

Browse files
authored
Update outdated Suite macro documentation (#1142)
1 parent edb9a6a commit 25b61ef

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Sources/Testing/Test+Macro.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ 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. Any
57-
/// copyable type (that is, any type that is not marked `~Copyable`) may be a
58-
/// test suite.
56+
/// A test suite is a type that contains one or more test functions.
57+
/// Any type may be a test suite.
5958
///
6059
/// The use of the `@Suite` attribute is optional; types are recognized as test
6160
/// suites even if they do not have the `@Suite` attribute applied to them.
@@ -81,9 +80,8 @@ public macro Suite(
8180
/// from the associated type's name.
8281
/// - traits: Zero or more traits to apply to this test suite.
8382
///
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.
83+
/// A test suite is a type that contains one or more test functions.
84+
/// Any type may be a test suite.
8785
///
8886
/// The use of the `@Suite` attribute is optional; types are recognized as test
8987
/// suites even if they do not have the `@Suite` attribute applied to them.

0 commit comments

Comments
 (0)