Fix several misspellings (#94)

This commit is contained in:
Sijawusz Pur Rahnama 2019-02-23 06:06:28 +01:00 committed by Vitalii Elenhaupt
parent e850bff60f
commit e8a68a80d5
3 changed files with 3 additions and 3 deletions

View file

@ -145,7 +145,7 @@ module Ameba::Rule::Lint
), %w(ArgumentError IndexError) ), %w(ArgumentError IndexError)
end 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 %( check_shadowed %(
begin begin
rescue Exception rescue Exception

View file

@ -1,5 +1,5 @@
module Ameba::AST module Ameba::AST
# AST Visitor that counts occurences of certain keywords # AST Visitor that counts occurrences of certain keywords
class CountingVisitor < Crystal::Visitor class CountingVisitor < Crystal::Visitor
@complexity = 1 @complexity = 1

View file

@ -14,7 +14,7 @@ module Ameba::Formatter
getter location : Crystal::Location getter location : Crystal::Location
# Creates a new instance of ExplainFormatter. # 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. # Second argument is *location* which indicates the location to explain.
# #
# ``` # ```