Skip to content

Commit 244507b

Browse files
committed
[XCTestSuite] Separate header with documentation
The improved documentation from #100 used source comment syntax (`//`), not documentation syntax (`///`). It also combined the header comment with the documentation for XCTestSuite.
1 parent 6913f61 commit 244507b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Sources/XCTest/XCTestSuite.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
// XCTestSuite.swift
1111
// A collection of test cases.
1212
//
13-
// A subclass of XCTest, XCTestSuite is a collection of test cases. Based on
14-
// what's passed into XCTMain(), a hierarchy of suites is built up, but
15-
// XCTestSuite can also be instantiated and manipulated directly:
16-
//
17-
// let suite = XCTestSuite(name: "My Tests")
18-
// suite.addTest(myTest)
19-
// suite.testCaseCount // 1
20-
// suite.run()
2113

14+
/// A subclass of XCTest, XCTestSuite is a collection of test cases. Based on
15+
/// what's passed into XCTMain(), a hierarchy of suites is built up, but
16+
/// XCTestSuite can also be instantiated and manipulated directly:
17+
///
18+
/// let suite = XCTestSuite(name: "My Tests")
19+
/// suite.addTest(myTest)
20+
/// suite.testCaseCount // 1
21+
/// suite.run()
2222
public class XCTestSuite: XCTest {
2323
public private(set) var tests = [XCTest]()
2424

0 commit comments

Comments
 (0)