From 5f46612e89763c3d69e490ac6571fdd34ff4febe Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Sun, 13 Nov 2022 01:32:49 +0100 Subject: [PATCH] Remove obsolete spec --- spec/ameba/rule/lint/useless_assign_spec.cr | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/ameba/rule/lint/useless_assign_spec.cr b/spec/ameba/rule/lint/useless_assign_spec.cr index 91c40076..25b15a22 100644 --- a/spec/ameba/rule/lint/useless_assign_spec.cr +++ b/spec/ameba/rule/lint/useless_assign_spec.cr @@ -261,15 +261,6 @@ module Ameba::Rule::Lint end end - it "does not report if global var" do - s = Source.new %( - def method - $1 = 3 - end - ) - subject.catch(s).should be_valid - end - it "does not report if assignment is referenced in a proc" do s = Source.new %( def method