File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ expect(foo).to be(nil)
289
289
Check that `be_nil` is used instead of `be(nil)`.
290
290
291
291
RSpec has a built-in `be_nil` matcher specifically for expecting `nil`.
292
- For consistent specs, we recommend using that instead of `be(nil).
292
+ For consistent specs, we recommend using that instead of `be(nil)` .
293
293
294
294
=== Examples
295
295
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module RSpec
6
6
# Check that `be_nil` is used instead of `be(nil)`.
7
7
#
8
8
# RSpec has a built-in `be_nil` matcher specifically for expecting `nil`.
9
- # For consistent specs, we recommend using that instead of `be(nil).
9
+ # For consistent specs, we recommend using that instead of `be(nil)` .
10
10
#
11
11
# @example
12
12
#
You can’t perform that action at this time.
0 commit comments