[Lldb-commits] [lldb] 811ad24 - [lldb][Test] TestModulesCompileError.py: fix expected error string

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 5 02:50:51 PST 2022


Author: Michael Buch
Date: 2022-12-05T10:50:16Z
New Revision: 811ad246ac7b46d85171577333be3fa4a9f04dbd

URL: https://github.com/llvm/llvm-project/commit/811ad246ac7b46d85171577333be3fa4a9f04dbd
DIFF: https://github.com/llvm/llvm-project/commit/811ad246ac7b46d85171577333be3fa4a9f04dbd.diff

LOG: [lldb][Test] TestModulesCompileError.py: fix expected error string

Added: 
    

Modified: 
    lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py b/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py
index 45296ab4bf03..9389d70c3a49 100644
--- a/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py
+++ b/lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py
@@ -16,6 +16,6 @@ def test(self):
         # Check that the error message shows file/line/column, prints the relevant
         # line from the source code and mentions the module that failed to build.
         self.expect("expr @import LLDBTestModule", error=True,
-                    substrs=["module.h:4:1: error: undeclared identifier 'syntax_error_for_lldb_to_find'",
+                    substrs=["module.h:4:1: error: use of undeclared identifier 'syntax_error_for_lldb_to_find'",
                              "syntax_error_for_lldb_to_find // comment that tests source printing",
                              "could not build module 'LLDBTestModule'"])


        


More information about the lldb-commits mailing list