[Lldb-commits] [lldb] The _code field in an NSError is signed, not unsigned. (PR #119764)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 12 13:27:31 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r c047a5b3f6e2295dd74f1e8f17f1a023150b246c...b41b19c7b9bf5a784914e662b7485ac96c2ccdc4 lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestDataFormatterObjCNSError.py 2024-12-12 21:20:37.000000 +0000
+++ TestDataFormatterObjCNSError.py 2024-12-12 21:27:04.900118 +0000
@@ -21,11 +21,13 @@
def test_nserror_with_run_command_no_const(self):
"""Test formatters for NSError."""
self.appkit_tester_impl(self.nserror_data_formatter_commands, False)
def nserror_data_formatter_commands(self):
- self.expect("frame variable nserror", substrs=['domain: @"Foobar" - code: -1234'])
+ self.expect(
+ "frame variable nserror", substrs=['domain: @"Foobar" - code: -1234']
+ )
self.expect(
"frame variable nserrorptr", substrs=['domain: @"Foobar" - code: -1234']
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/119764
More information about the lldb-commits
mailing list