brintos

brintos / llvm-project-archived public Read only

0
0
Text · 580 B · aacf932 Raw
22 lines · python
1import lldb2from lldbsuite.test.lldbtest import *3from lldbsuite.test.decorators import *4 5 6class DeleteCommandTestCase(TestBase):7    @no_debug_info_test8    def test_delete_builtin(self):9        self.expect(10            "command delete settings",11            error=True,12            substrs=[13                "'settings' is a permanent debugger command and cannot be removed."14            ],15        )16 17    @no_debug_info_test18    def test_delete_alias(self):19        self.expect(20            "command delete bt", error=True, substrs=["'bt' is not a known command."]21        )22