lib/rubocop/cop/rspec/be_eql.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/be_eql.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -9,10 +9,9 @@
# compares using `eql?`. Integers, floats, booleans, symbols, and nil
# can be compared by identity and therefore the `be` matcher is
# preferable as it is a more strict test.
#
# @example
- #
# # bad
# expect(foo).to eql(1)
# expect(foo).to eql(1.0)
# expect(foo).to eql(true)
# expect(foo).to eql(false)