[Lldb-commits] [lldb] [lldb][test] Fix failing test TestAddressRange.py (PR #93871)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Thu May 30 13:39:12 PDT 2024
================
@@ -191,7 +191,7 @@ def test_address_range_print_resolved(self):
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]+\)\r?$")
----------------
clayborg wrote:
I would remove the test for the end of line here:
```
self.assertRegex(result.GetOutput(), "^\[0x[0-9a-f]+\-0x[0-9a-f]+\)")
```
https://github.com/llvm/llvm-project/pull/93871
More information about the lldb-commits
mailing list