From 327ed546b9f92b17abdc9403e311c3894519f298 Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Mon, 10 Jul 2023 16:09:01 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Vitalii Elenhaupt <3624712+veelenga@users.noreply.github.com> --- spec/ameba/rule/performance/minmax_after_map_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ameba/rule/performance/minmax_after_map_spec.cr b/spec/ameba/rule/performance/minmax_after_map_spec.cr index c0f4701f..e4462992 100644 --- a/spec/ameba/rule/performance/minmax_after_map_spec.cr +++ b/spec/ameba/rule/performance/minmax_after_map_spec.cr @@ -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)