Skip to content

Commit 6c725dd

Browse files
committed
Merge branch 'master' of github.com:mac-cain13/R.swift
2 parents 462d438 + 2b38c71 commit 6c725dd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Documentation/Examples.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ The `R.validate()` method will throw a detailed error about the problems that oc
1313

1414
*Example testcase*
1515
```swift
16-
do {
17-
try R.validate()
18-
} catch {
19-
XCTFail(error)
20-
}
16+
XCTAssertNoThrow(try R.validate())
2117
```
2218

2319
## Images

0 commit comments

Comments
 (0)