[Lldb-commits] [lldb] [lldb] fix failing diagnostics test when Unicode is supported (PR #172038)

via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 12 08:18:02 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Charles Zablit (charles-zablit)

<details>
<summary>Changes</summary>

This patch fixes a test failure introduced by https://github.com/llvm/llvm-project/pull/171832 due to a check which was not properly updated.

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


1 Files Affected:

- (modified) lldb/test/Shell/Commands/command-expr-diagnostics.test (+1-1) 


``````````diff
diff --git a/lldb/test/Shell/Commands/command-expr-diagnostics.test b/lldb/test/Shell/Commands/command-expr-diagnostics.test
index 0cb3cd381f3e2..3695312ca1684 100644
--- a/lldb/test/Shell/Commands/command-expr-diagnostics.test
+++ b/lldb/test/Shell/Commands/command-expr-diagnostics.test
@@ -24,7 +24,7 @@
 # RUN: "expression -- FOO(\"\")" 2>&1 | FileCheck %s --check-prefix=CHECK4
 #            (lldb) expression -- FOO("")
 # CHECK4:{{^                     (\^|˄)}}
-# CHECK4: {{^                     note: in instantiation of function template}}
+# CHECK4: {{^                     (╰─ )?note: in instantiation of function template}}
 # CHECK4: error: <user expression
 
 # RUN: echo expression --\na\n+\nb

``````````

</details>


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


More information about the lldb-commits mailing list