Fix typos in the test command for D144929
authorJim Ingham <jingham@apple.com>
Wed, 1 Mar 2023 00:57:03 +0000 (16:57 -0800)
committerJim Ingham <jingham@apple.com>
Wed, 1 Mar 2023 00:59:19 +0000 (16:59 -0800)
lldb/test/API/commands/command/script/TestCommandScript.py

index b81acef..6716f85 100644 (file)
@@ -21,8 +21,8 @@ class CmdPythonTestCase(TestBase):
 
         # Test that we did indeed add these commands as user commands:
         interp = self.dbg.GetCommandInterpreter()
-        self.expectTrue(interp.UserCommandExists("foobar"), "foobar exists")
-        self.expectFalse(interp.CommandExists("foobar"), "It is not a builtin.")
+        self.assertTrue(interp.UserCommandExists("foobar"), "foobar exists")
+        self.assertFalse(interp.CommandExists("foobar"), "It is not a builtin.")
 
         # Test a bunch of different kinds of python callables with
         # both 4 and 5 positional arguments.