Commit aafd65ad authored by Tatyana Krasnukha's avatar Tatyana Krasnukha
Browse files

[lldb][test] Replace HandleCommand with runCmd to check that a command succeeded

parent d2e397f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,5 +42,5 @@ class TestPtrRefs(TestBase):

        frame = thread.GetFrameAtIndex(0)

        self.dbg.HandleCommand("script import lldb.macosx.heap")
        self.runCmd("script import lldb.macosx.heap")
        self.expect("ptr_refs my_ptr", substrs=["malloc", "stack"])
+1 −1
Original line number Diff line number Diff line
@@ -42,6 +42,6 @@ class TestPtrRefsObjC(TestBase):

        frame = thread.GetFrameAtIndex(0)

        self.dbg.HandleCommand("script import lldb.macosx.heap")
        self.runCmd("script import lldb.macosx.heap")
        self.expect("ptr_refs self", substrs=["malloc", "stack"])