Skip to content

Commit

Permalink
adopt rubocop-minitest's preference for assert_operator vs raw assert
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal committed Sep 23, 2023
1 parent 6ebf2df commit 3524316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/rubycritic/generators/console_report_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
it "starts the report with the module's name" do
lines = @output.split("\n")

assert lines[0][/#{mock_analysed_module.name}/]
assert_operator lines[0], :[], /#{mock_analysed_module.name}/
end

it "includes the module's rating in the report" do
Expand Down

0 comments on commit 3524316

Please sign in to comment.