Styling changes

This commit is contained in:
Vitalii Elenhaupt 2023-02-07 20:02:13 +02:00
parent 6b2ddcb1d9
commit d20cc212b9
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0
3 changed files with 5 additions and 6 deletions

View file

@ -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