We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d6e5b commit faf8911Copy full SHA for faf8911
1 file changed
tests/analysis/java/test_java_sitter.py
@@ -253,13 +253,6 @@ def test_safe_ascend(test_fixture):
253
parent_node = java_sitter.safe_ascend(child_node, 0)
254
assert parent_node is child_node
255
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
263
264
def test_get_call_targets():
265
"""get the call targets"""
0 commit comments