mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
fix: crystal next compatibility
refs https://github.com/crystal-lang/crystal/pull/11597 fixes https://github.com/crystal-ameba/ameba/issues/406
This commit is contained in:
parent
7174e81a13
commit
789e1b77e8
3 changed files with 4 additions and 26 deletions
|
@ -233,7 +233,7 @@ module Ameba::Rule::Lint
|
|||
subject.catch(s).should be_valid
|
||||
end
|
||||
|
||||
context "when transformed" do
|
||||
context "block unpacking" do
|
||||
it "does not report if the first arg is transformed and not used" do
|
||||
s = Source.new %(
|
||||
collection.each do |(a, b)|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue