mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Remove obsolete spec
This commit is contained in:
parent
1a26ebcfed
commit
5f46612e89
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue