Skip to content

Commit ca66809

Browse files
grynspanstmontgomery
authored andcommitted
Fix a misuse of .bug() in documentation. (#436)
Fixes a typo in an example using `.bug()`. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent e4bb902 commit ca66809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Testing.docc/EnablingAndDisabling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bug report, you can use the ``Trait/bug(_:_:)-2u8j9`` or
9090
"Ice cream is cold",
9191
.enabled(if: Season.current == .summer),
9292
.disabled("We ran out of sprinkles"),
93-
.bug("12345")
93+
.bug(id: "12345")
9494
)
9595
func isCold() async throws { ... }
9696
```

0 commit comments

Comments
 (0)