[Lldb-commits] [lldb] [lldb] Try to fix TestExprDiagnostics test (PR #136269)
Timm Baeder via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 18 00:04:39 PDT 2025
https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/136269
>From 04e355e7356acf6d7de7ab7e232b2a489ad4fffb 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
---
.../expression/diagnostics/TestExprDiagnostics.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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(),
)
More information about the lldb-commits
mailing list