[Lldb-commits] [lldb] 00b2c33 - Fix typos in the test command for D144929

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 28 16:59:28 PST 2023


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.


        


More information about the lldb-commits mailing list