[Lldb-commits] [lldb] [lldb] Try to fix TestExprDiagnostics test (PR #136269)

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 17 23:44:55 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/136269.diff


1 Files Affected:

- (modified) lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py (+4-4) 


``````````diff
diff --git a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
index b476a807c6dc0..428dbd0a85234 100644
--- a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
+++ b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
@@ -33,7 +33,7 @@ def test_source_and_caret_printing(self):
         self.assertIn(
             """
     1 | unknown_identifier
-      | ^
+      | ^~~~~~~~~~~~~~~~~~
 """,
             value.GetError().GetCString(),
         )
@@ -45,7 +45,7 @@ def test_source_and_caret_printing(self):
         self.assertIn(
             """
     1 | 1 + unknown_identifier
-      |     ^
+      |     ^~~~~~~~~~~~~~~~~~
 """,
             value.GetError().GetCString(),
         )
@@ -57,7 +57,7 @@ def test_source_and_caret_printing(self):
         self.assertIn(
             """
     2 | foobar +=1;
-      | ^
+      | ^~~~~~
 """,
             value.GetError().GetCString(),
         )
@@ -74,7 +74,7 @@ def test_source_and_caret_printing(self):
         self.assertIn(
             """
     1 | void foo(unknown_type x) {}
-      |          ^
+      |          ^~~~~~~~~~~~
 """,
             value.GetError().GetCString(),
         )

``````````

</details>


https://github.com/llvm/llvm-project/pull/136269


More information about the lldb-commits mailing list