mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix several misspellings (#94)
This commit is contained in:
parent
e850bff60f
commit
e8a68a80d5
3 changed files with 3 additions and 3 deletions
|
@ -145,7 +145,7 @@ module Ameba::Rule::Lint
|
|||
), %w(ArgumentError IndexError)
|
||||
end
|
||||
|
||||
it "fails if there are multipe shadowed exceptions in a type list" do
|
||||
it "fails if there are multiple shadowed exceptions in a type list" do
|
||||
check_shadowed %(
|
||||
begin
|
||||
rescue Exception
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module Ameba::AST
|
||||
# AST Visitor that counts occurences of certain keywords
|
||||
# AST Visitor that counts occurrences of certain keywords
|
||||
class CountingVisitor < Crystal::Visitor
|
||||
@complexity = 1
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ module Ameba::Formatter
|
|||
getter location : Crystal::Location
|
||||
|
||||
# Creates a new instance of ExplainFormatter.
|
||||
# Accepts *output* which indicates the io where the explaination will be wrtitten to.
|
||||
# Accepts *output* which indicates the io where the explanation will be wrtitten to.
|
||||
# Second argument is *location* which indicates the location to explain.
|
||||
#
|
||||
# ```
|
||||
|
|
Loading…
Reference in a new issue