brintos

brintos / llvm-project-archived public Read only

0
0
Text · 518 B · 6d2ae45 Raw
20 lines · python
1import lldb2from lldbsuite.test.decorators import *3from lldbsuite.test.lldbtest import *4from lldbsuite.test import lldbutil5 6 7class TestCase(TestBase):8    @no_debug_info_test9    def test_invalid_arg(self):10        self.expect(11            "target select -1",12            error=True,13            startstr="error: invalid index string value '-1'",14        )15        self.expect(16            "target select abcdfx",17            error=True,18            startstr="error: invalid index string value 'abcdfx'",19        )20