Skip to content

Commit

Permalink
💚 Fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Oct 28, 2023
1 parent 302a139 commit 1d21783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_finders.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def test_DefinitionFinder() -> None:
text = f.read()
tree = get_parser("make").parse(text)
finder = DefinitionFinder(
tree.root_node.children[10]
tree.root_node.children[13]
.children[1]
.children[0]
.children[0]
.children[2]
)
result = finder(UNI(file, tree.root_node.children[9].children[0]))
result = finder(UNI(file, tree.root_node.children[12].children[0]))
assert result is True

0 comments on commit 1d21783

Please sign in to comment.