Skip to content

Commit 907b97d

Browse files
committed
Fix typos in the test command for D144929
(cherry picked from commit 00b2c33)
1 parent 9e777a6 commit 907b97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/commands/command/script/TestCommandScript.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def pycmd_tests(self):
2121

2222
# Test that we did indeed add these commands as user commands:
2323
interp = self.dbg.GetCommandInterpreter()
24-
self.expectTrue(interp.UserCommandExists("foobar"), "foobar exists")
25-
self.expectFalse(interp.CommandExists("foobar"), "It is not a builtin.")
24+
self.assertTrue(interp.UserCommandExists("foobar"), "foobar exists")
25+
self.assertFalse(interp.CommandExists("foobar"), "It is not a builtin.")
2626

2727
# Test a bunch of different kinds of python callables with
2828
# both 4 and 5 positional arguments.

0 commit comments

Comments
 (0)