mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix typos throughout the codebase
This commit is contained in:
parent
720810c3cb
commit
43dea0e49d
4 changed files with 5 additions and 5 deletions
|
@ -95,7 +95,7 @@ module Ameba
|
|||
end
|
||||
)
|
||||
|
||||
it "does not report emtpy expression in macro" do
|
||||
it "does not report empty expression in macro" do
|
||||
s = Source.new %q(
|
||||
module MyModule
|
||||
macro conditional_error_for_inline_callbacks
|
||||
|
|
|
@ -201,7 +201,7 @@ module Ameba::Rule::Lint
|
|||
subject.catch(source).should be_valid
|
||||
end
|
||||
|
||||
it "does not report shadowed vars in macro withing the same scope" do
|
||||
it "does not report shadowed vars in macro within the same scope" do
|
||||
source = Source.new %(
|
||||
{% methods = klass.methods.select { |m| m.annotation(MyAnn) } %}
|
||||
|
||||
|
@ -214,7 +214,7 @@ module Ameba::Rule::Lint
|
|||
subject.catch(source).should be_valid
|
||||
end
|
||||
|
||||
it "does not report shadowed vars withing nested macro" do
|
||||
it "does not report shadowed vars within nested macro" do
|
||||
source = Source.new %(
|
||||
module Foo
|
||||
macro included
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue