Skip to content

Commit

Permalink
add a test for custom tags
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed May 11, 2023
1 parent 9ea98b4 commit 5afc2fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ast/test_natspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def doesEat(food: String[30], qty: uint256) -> bool:
@param food The name of a food to evaluate (in English)
@param qty The number of food items to evaluate
@return True if Bugs will eat it, False otherwise
@custom:my-custom-tag hello, world!
'''
return True
"""
Expand Down Expand Up @@ -51,6 +52,7 @@ def doesEat(food: String[30], qty: uint256) -> bool:
"qty": "The number of food items to evaluate",
},
"returns": {"_0": "True if Bugs will eat it, False otherwise"},
"custom:my-custom-tag": "hello, world!",
}
},
"title": "A simulator for Bug Bunny, the most famous Rabbit",
Expand Down

0 comments on commit 5afc2fd

Please sign in to comment.