mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Styling changes
This commit is contained in:
parent
6b2ddcb1d9
commit
d20cc212b9
3 changed files with 5 additions and 6 deletions
|
@ -21,7 +21,8 @@ module Ameba::AST
|
|||
|
||||
it "raises if type declaration is incorrect" do
|
||||
type_dec = Crystal::TypeDeclaration.new(declared_type, declared_type)
|
||||
expect_raises(Exception, "unsupported var node type: Crystal::Path") do
|
||||
|
||||
expect_raises(Exception, "Unsupported var node type: Crystal::Path") do
|
||||
TypeDecVariable.new(type_dec).name
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue