Skip to content

Commit 35b1666

Browse files
authored
Avoid confusion with the "." being a dot operator (#501)
… by replacing the second reference of the function with "this macro". resolves rdar://129020874 ### 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 c815313 commit 35b1666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Testing.docc/Expectations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For more information, see <doc:testing-asynchronous-code>.
2727
### Validate your code's result
2828

2929
To validate that your code produces an expected value, use
30-
``expect(_:_:sourceLocation:)``. ``expect(_:_:sourceLocation:)`` captures the
30+
``expect(_:_:sourceLocation:)``. This macro captures the
3131
expression you pass, and provides detailed information when the code doesn't
3232
satisfy the expectation.
3333

0 commit comments

Comments
 (0)