Skip to content

Commit

Permalink
Fix parser doc spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Dec 19, 2024
1 parent cd722b6 commit c9c2eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/compiler/parser/parser_doc_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ describe "Parser doc" do
.body.as(Crystal::Expressions)
.expressions.each do |exp|
exp.as(Crystal::TypeDeclaration)
.var.as(Crystal::Var)
.doc.should eq("This is Foo.\nUse it well.")
end
end
Expand Down

0 comments on commit c9c2eaa

Please sign in to comment.