Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppes authored Mar 28, 2020
1 parent 250ca49 commit 3123d89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Note: If your `enum` has cases with no associated values, your enum will need to
No enum? No problem. The following types of matchers are supported too:

```swift
let count: Int = ...
Switcher(count)
// If your type is equatable, you can match against values directly with `.just`
.just(2) { _ in Text("Double trouble.") }
Expand Down

0 comments on commit 3123d89

Please sign in to comment.