Slice out the line associated with a tag.

This commit is contained in:
Patrick Thomson 2020-03-10 20:39:04 -04:00
parent 4996cbe830
commit d798bd6bd9
2 changed files with 7 additions and 1 deletions

View file

@ -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");
}