Skip to content

Commit

Permalink
feat: add unit tests for tags queries
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Jul 11, 2023
1 parent db1d218 commit 5a5455e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/tags/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class MyClass:
# ^ definition.class
def hello():
# ^ definition.function
print "hello from MyClass"

MyClass.hello()
# ^ reference.call

def main():
# ^ definition.function
print "Hello, world!"

main()
# <- reference.call

0 comments on commit 5a5455e

Please sign in to comment.