mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Remove naive solution for #447
This commit is contained in:
parent
590640b559
commit
17084f4a1d
2 changed files with 4 additions and 11 deletions
|
@ -402,11 +402,12 @@ module Ameba::Rule::Lint
|
|||
CRYSTAL
|
||||
end
|
||||
|
||||
it "doesn't report type declaration as a call argument" do
|
||||
pending "doesn't report type declaration as a call argument" do
|
||||
expect_no_issues subject, <<-CRYSTAL
|
||||
foo Foo(T), foo : T
|
||||
foo Foo, foo : Nil
|
||||
foo foo : String, bar : Int32?
|
||||
foo foo : String
|
||||
foo foo : String, bar : Int32?, baz : Bool
|
||||
CRYSTAL
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue