Slice out the line associated with a tag.
This commit is contained in:
parent
4996cbe830
commit
d798bd6bd9
2 changed files with 7 additions and 1 deletions
|
|
@ -56,5 +56,6 @@ fn test_tags_python() {
|
|||
);
|
||||
|
||||
assert_eq!(tags[0].docs.as_ref().unwrap(), "Data about a customer");
|
||||
assert_eq!(tags[0].line, "class Customer:");
|
||||
assert_eq!(tags[1].docs.as_ref().unwrap(), "Get the customer's age");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue