Few tweaks and readability refactors

This commit is contained in:
Sijawusz Pur Rahnama 2022-12-20 00:34:11 +01:00
parent ab059616b5
commit 4e3caf2986
8 changed files with 21 additions and 13 deletions

View file

@ -17,7 +17,7 @@ module Ameba
it "passes if type names are screaming-cased" do
expect_no_issues subject, <<-CRYSTAL
LUCKY_NUMBERS = [3, 7, 11]
DOCUMENTATION_URL = "http://crystal-lang.org/docs"
DOCUMENTATION_URL = "https://crystal-lang.org/docs"
Int32

View file

@ -286,3 +286,7 @@ end
def as_nodes(source)
Ameba::TestNodeVisitor.new(as_node source)
end
def trailing_whitespace
' '
end