From d2823398ff75ce81c040b84ef886a1a3733c9ac3 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Fri, 19 Jul 2019 12:33:56 -0600 Subject: [PATCH] Remove useless assignment (Ameba find) --- spec/matchers/change_matcher_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/matchers/change_matcher_spec.cr b/spec/matchers/change_matcher_spec.cr index 21788ec..af7fea5 100644 --- a/spec/matchers/change_matcher_spec.cr +++ b/spec/matchers/change_matcher_spec.cr @@ -102,7 +102,7 @@ describe Spectator::Matchers::ChangeMatcher do i = 0 partial = new_block_partial { i += 5 } matcher = Spectator::Matchers::ChangeMatcher.new { i } - match_data = matcher.from(0).match(partial) + matcher.from(0).match(partial) i.should eq(5) # Local scope `i` will be updated if the expression (closure) was passed on. end