Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Documentation/Vision.md
Original file line number Diff line number Diff line change
Expand Up @@ -657,14 +657,14 @@ func example4() {
#### Nesting / subgrouping tests

Earlier examples showed how related tests may be grouped together by placing
them within a type conforming to `Suite`. This technique also allows forming
sub-groups by nesting one `Suite`-conforming type inside another:
them within a type. This technique also allows forming sub-groups by nesting
one type containing tests inside another:

```swift
struct OuterTests {
@Test func outerExample() { /* ... */ }

@Test(.tags("edge-case"))
@Suite(.tags("edge-case"))
struct InnerTests {
@Test func innerExample1() { /* ... */ }
@Test func innerExample2() { /* ... */ }
Expand Down