mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Few tweaks and readability refactors
This commit is contained in:
parent
ab059616b5
commit
4e3caf2986
8 changed files with 21 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -286,3 +286,7 @@ end
|
|||
def as_nodes(source)
|
||||
Ameba::TestNodeVisitor.new(as_node source)
|
||||
end
|
||||
|
||||
def trailing_whitespace
|
||||
' '
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue