mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Apply suggestions from code review
Co-authored-by: Vitalii Elenhaupt <3624712+veelenga@users.noreply.github.com>
This commit is contained in:
parent
ddff8d226b
commit
327ed546b9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Ameba::Rule::Performance
|
|||
subject = MinMaxAfterMap.new
|
||||
|
||||
describe MinMaxAfterMap do
|
||||
it "passes if there is no potential performance improvements" do
|
||||
it "passes if there are no potential performance improvements" do
|
||||
expect_no_issues subject, <<-CRYSTAL
|
||||
%w[Alice Bob].map { |name| name.size }.min(2)
|
||||
%w[Alice Bob].map { |name| name.size }.max(2)
|
||||
|
|
Loading…
Reference in a new issue