Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwilk committed Jul 19, 2013
1 parent 70260a2 commit cbd873a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fact "mock with a wildcard" do
end
```

#### Wildcard matchers for argument:
#### Wildcard matchers for argument

```elixir
fact "mock with a wildcard"
Expand All @@ -88,7 +88,7 @@ fact "mock with a wildcard"
end
```

#### Powerful custom predicates for argument matching.
#### Powerful custom predicates for argument matching
```elixir
fact "mock with a matcher function" do
provided [Polite.swear?(fn arg -> arg =~ %r"moo") |> false] do
Expand All @@ -97,7 +97,7 @@ fact "mock with a matcher function" do
end
```

#### Control return values based on specific argument values
#### Return values based on specific argument values
```elixir
fact "mock with return based on argument" do
provided [Polite.swear?(:pants) |> false,
Expand All @@ -116,7 +116,7 @@ end

## Checkers

Amrita is all about checker based testing!
Amrita is also all about checker based testing!

```elixir
Code.require_file "../test_helper.exs", __FILE__
Expand Down

0 comments on commit cbd873a

Please sign in to comment.