Get generate_tags with the new iterator API
This commit is contained in:
parent
0eb162c685
commit
17cc38678c
2 changed files with 89 additions and 77 deletions
|
|
@ -2,7 +2,7 @@ use super::helpers::fixtures::get_language;
|
|||
use tree_sitter_tags::{TagKind, TagsConfiguration, TagsContext};
|
||||
|
||||
#[test]
|
||||
fn test_tags_javascript() {
|
||||
fn test_tags_python() {
|
||||
let language = get_language("python");
|
||||
let tags_config = TagsConfiguration::new(
|
||||
language,
|
||||
|
|
@ -40,7 +40,7 @@ fn test_tags_javascript() {
|
|||
'''
|
||||
Get the customer's age
|
||||
'''
|
||||
compute_age(self.id);
|
||||
compute_age(self.id)
|
||||
}
|
||||
"#,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue