Skip to content

Commit dbcfb43

Browse files
committed
[lldb/test] Rename a function
I misunderstood what is the function looking up
1 parent 20cb2ed commit dbcfb43

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lldb/test/API/python_api/type/TestTypeList.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def setUp(self):
1818
self.source = "main.cpp"
1919
self.line = line_number(self.source, "// Break at this line")
2020

21-
def _find_nested_type_in_Task_pointer(self, pointer_type):
21+
def _find_nested_type_in_Pointer_template_arg(self, pointer_type):
2222
self.assertTrue(pointer_type)
2323
self.DebugSBType(pointer_type)
2424
pointer_info_type = pointer_type.template_args[1]
@@ -168,8 +168,10 @@ def test(self):
168168

169169
# Check that FindDirectNestedType works with types from module and
170170
# expression ASTs.
171-
self._find_nested_type_in_Task_pointer(frame0.FindVariable("pointer").GetType())
172-
self._find_nested_type_in_Task_pointer(
171+
self._find_nested_type_in_Pointer_template_arg(
172+
frame0.FindVariable("pointer").GetType()
173+
)
174+
self._find_nested_type_in_Pointer_template_arg(
173175
frame0.EvaluateExpression("pointer").GetType()
174176
)
175177

0 commit comments

Comments
 (0)