lib/rubocop/cop/rspec/expect_output.rb in rubocop-rspec-1.12.0 vs lib/rubocop/cop/rspec/expect_output.rb in rubocop-rspec-1.13.0

- old
+ new

@@ -13,11 +13,11 @@ # expect($stdout.string).to eq('Hello World') # # # good # expect { my_app.print_report }.to output('Hello World').to_stdout class ExpectOutput < Cop - MSG = 'Use `expect { ... }.to output(...).to_%<name>s` ' \ - 'instead of mutating $%<name>s'.freeze + MSG = 'Use `expect { ... }.to output(...).to_%<name>s` '\ + 'instead of mutating $%<name>s.'.freeze def_node_matcher :hook?, Hooks::ALL.block_pattern def on_gvasgn(node) return unless inside_example_scope?(node)