[Lldb-commits] [lldb] 123f939 - [lldb] Fix language label in ObjC Language unittest
Caroline Tice via lldb-commits
lldb-commits at lists.llvm.org
Sat May 6 12:30:17 PDT 2023
Author: Caroline Tice
Date: 2023-05-06T12:29:33-07:00
New Revision: 123f939c14f7a3c8e641d0348c1ad286538d4f1a
URL: https://github.com/llvm/llvm-project/commit/123f939c14f7a3c8e641d0348c1ad286538d4f1a
DIFF: https://github.com/llvm/llvm-project/commit/123f939c14f7a3c8e641d0348c1ad286538d4f1a.diff
LOG: [lldb] Fix language label in ObjC Language unittest
The recently added ObjC Language unittest, InvalidMethondNameParsing, currently has CPlusPlusLanguage as its language label (see https://reviews.llvm.org/D149804). There is already a test with the same name and same language label in the C++ Language unittests, so this creates a name conflict. This patch corrects the language label on the ObjC test.
Differential Revision: https://reviews.llvm.org/D150019
Added:
Modified:
lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp b/lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp
index e9cb5d1b32143..683b16d5dcbed 100644
--- a/lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp
+++ b/lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp
@@ -92,7 +92,7 @@ TEST(ObjCLanguage, MethodNameParsing) {
}
}
-TEST(CPlusPlusLanguage, InvalidMethodNameParsing) {
+TEST(ObjCLanguage, InvalidMethodNameParsing) {
// Tests that we correctly reject malformed function names
llvm::StringRef test_cases[] = {"+[Uh oh!",
More information about the lldb-commits
mailing list