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

Timm Baeder via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 17 23:58:08 PDT 2025


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

>From 080087a0b5b8a399aa633d1c1433f28ae83398c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Fri, 18 Apr 2025 08:43:37 +0200
Subject: [PATCH] [lldb] Try to fix TestExprDiagnostics test

---
 .../commands/expression/diagnostics/TestExprDiagnostics.py    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
index b476a807c6dc0..06cb758bc62d4 100644
--- a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
+++ b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
@@ -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(),
         )



More information about the lldb-commits mailing list