[Lldb-commits] [lldb] Fix interactive use of "command script add". (PR #83350)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 28 14:30:58 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 4df364bc93af49ae413ec1ae8328f34ac70730c4...76eeb252b1f5fa71a68b439c84d13c8bcf042da7 lldb/test/API/commands/command/script/TestCommandScript.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestCommandScript.py 2024-02-28 22:25:55.000000 +0000
+++ TestCommandScript.py 2024-02-28 22:30:52.097582 +0000
@@ -228,7 +228,5 @@
self.assertCommandReturn(result, "Sourcing the command should cause no errors.")
self.assertTrue(interp.UserCommandExists("my_cmd"), "Command defined.")
interp.HandleCommand("my_cmd", result)
self.assertCommandReturn(result, "Running the command succeeds")
self.assertIn("My Command Result", result.GetOutput(), "Command was correct")
-
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/83350
More information about the lldb-commits
mailing list