Author: Jim Ingham Date: 2023-02-28T16:59:19-08:00 New Revision: 00b2c33c9359e1f75dd29d5083fac66bfd52db6e
URL: https://github.com/llvm/llvm-project/commit/00b2c33c9359e1f75dd29d5083fac66bfd52db6e DIFF: https://github.com/llvm/llvm-project/commit/00b2c33c9359e1f75dd29d5083fac66bfd52db6e.diff LOG: Fix typos in the test command for D144929 Added: Modified: lldb/test/API/commands/command/script/TestCommandScript.py Removed: ################################################################################ diff --git a/lldb/test/API/commands/command/script/TestCommandScript.py b/lldb/test/API/commands/command/script/TestCommandScript.py index b81acef261067..6716f852dcbf0 100644 --- a/lldb/test/API/commands/command/script/TestCommandScript.py +++ b/lldb/test/API/commands/command/script/TestCommandScript.py @@ -21,8 +21,8 @@ def pycmd_tests(self): # 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 diff erent kinds of python callables with # both 4 and 5 positional arguments. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits