Skip to content

Commit faf8911

Browse files
committed
Issue 104: Fix failing tests cases now pass.
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
1 parent f7d6e5b commit faf8911

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/analysis/java/test_java_sitter.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,6 @@ def test_safe_ascend(test_fixture):
253253
parent_node = java_sitter.safe_ascend(child_node, 0)
254254
assert parent_node is child_node
255255

256-
# TODO: It seems this code below should work.
257-
# Why wouldn't it get the parent of a child node?
258-
259-
# When assent_count is 1 you should get the parent node back
260-
parent_node = java_sitter.safe_ascend(child_node, 1)
261-
assert parent_node is root_node
262-
263256

264257
def test_get_call_targets():
265258
"""get the call targets"""

0 commit comments

Comments
 (0)