Skip to content

Commit

Permalink
tests: Regression test for comments in maps
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Nov 16, 2024
1 parent 22eb24c commit b85d94a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/corpus/comments_in_maps_regression.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
===
Comments in maps (regression test)
===

install = {
gvd: "bin/gvd",
# libgv: "lib/libgv.so",
}

---

(source_file
(statement
(assignment
left: (identifier)
right: (expression
(map
(map_item
key: (expression (identifier))
value: (expression (literal (string)))
)
(comment)
)
)
)
)
)

0 comments on commit b85d94a

Please sign in to comment.