[Lldb-commits] [lldb] [lldb][test] Fix duplicate error messages in expect_expr/var_path (PR #202310)
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 8 03:13:36 PDT 2026
Teemperor wrote:
For reviewing, the value check function starts with this, so this custom error_msg is redundant.
```
def check_value(self, test_base, val, error_msg=None):
"""
[...]
"""
this_error_msg = error_msg if error_msg else ""
this_error_msg += "\nChecking SBValue: " + str(val)
```
https://github.com/llvm/llvm-project/pull/202310
More information about the lldb-commits
mailing list