[lldb][test] Fix failing test TestAddressRange.py (#93871)

Test llvm-project/lldb/test/API/python_api/address_range/TestAddressRange.py is failing on Windows due adding a carriage return character at the end of line. Original PR is #93836.
This commit is contained in:
Miro Bucko
2024-05-31 03:44:51 +07:00
committed by GitHub
parent 167cad531d
commit 493eefc93f

View File

@@ -191,7 +191,7 @@ class AddressRangeTestCase(TestBase):
interp.HandleCommand(script, result, False)
self.assertTrue(result.Succeeded(), "script command succeeded")
# [0x1000-0x2000] // Resolved with target or addresses without sections
self.assertRegex(result.GetOutput(), "^\[0x[0-9a-f]+\-0x[0-9a-f]+\)$")
self.assertRegex(result.GetOutput(), "^\[0x[0-9a-f]+\-0x[0-9a-f]+\)")
process.Kill()
def test_address_range_print_no_section_resolved(self):