lib/rubocop/cop/rspec/expect_actual.rb in rubocop-rspec-2.22.0 vs lib/rubocop/cop/rspec/expect_actual.rb in rubocop-rspec-2.23.0

- old
+ new

@@ -22,11 +22,11 @@ # expect(false).to eq(true) # class ExpectActual < Base extend AutoCorrector - MSG = 'Provide the actual you are testing to `expect(...)`.' + MSG = 'Provide the actual value you are testing to `expect(...)`.' RESTRICT_ON_SEND = Runners.all SIMPLE_LITERALS = %i[ true @@ -75,10 +75,10 @@ end end private - # This is not implement using a NodePattern because it seems + # This is not implemented using a NodePattern because it seems # to not be able to match against an explicit (nil) sexp def literal?(node) node && (simple_literal?(node) || complex_literal?(node)) end