1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Remove a superfluous comparison

This commit is contained in:
jbranchaud
2016-07-05 12:09:14 -05:00
parent 9c41f105cf
commit e14214c201

View File

@@ -10,7 +10,7 @@ Using `assert_raise/2` looks something like this:
```elixir
assert_raise FunctionClauseError, fn ->
Enum.chunk([1,2,3], 0) == []
Enum.chunk([1,2,3], 0)
end
```
@@ -19,7 +19,7 @@ the type of exception and the resulting message.
```elixir
assert_raise FunctionClauseError, ~r/^no function clause matching/, fn ->
Enum.chunk([1,2,3], 0) == []
Enum.chunk([1,2,3], 0)
end
```