1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Use some tree information in a unit test.

This commit is contained in:
Patrick Thomson 2019-09-18 13:05:10 -04:00
parent 99a7806c20
commit 2aea021890

View File

@ -1,3 +1,5 @@
# CHECK-JQ: .scope | has("hello") and has("goodbye")
# CHECK-JQ: .tree.location.span | [.start.line, .start.column] == [0, 0]
# CHECK-JQ: .tree.location.span | [.end.line, .end.column] == [5, 0]
hello = ()
goodbye = ()