File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -207,26 +207,16 @@ defmodule ExUnit.Assertions do
207
207
true
208
208
end
209
209
210
- @ doc """
211
- Asserts `value` is true.
212
- If it fails, it raises an expectation error
213
- using the given `left` and `right` values.
214
-
215
- You probably don't need to use this—the regular `assert` function
216
- handles this for you.
217
-
218
- ## Examples
219
-
220
- assert this > that, this, that, "more than"
221
-
222
- """
210
+ @ doc false
223
211
def assert ( value , left , right , message ) when is_binary ( message ) do
224
212
assert ( value , left: left , right: right , message: message )
225
213
end
226
214
227
215
@ doc """
228
- Asserts a message was or is going to be received. Unlike
229
- `assert_received`, it has a default timeout of 100 milliseconds.
216
+ Asserts a message was or is going to be received.
217
+
218
+ Unlike `assert_received`, it has a default timeout
219
+ of 100 milliseconds.
230
220
231
221
The `expected` argument is a pattern.
232
222
@@ -460,8 +450,6 @@ defmodule ExUnit.Assertions do
460
450
end
461
451
462
452
@ doc """
463
- refute_receive message, timeout \\ 100, message \\ nil
464
-
465
453
Asserts `message` was not received (and won't be received) within
466
454
the `timeout` period.
467
455
You can’t perform that action at this time.
0 commit comments