summaryrefslogtreecommitdiff
path: root/lldb/unittests
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2023-05-06 00:04:57 -0700
committerCaroline Tice <cmtice@google.com>2023-05-06 12:29:33 -0700
commit123f939c14f7a3c8e641d0348c1ad286538d4f1a (patch)
tree4b8b50b6dc32366f3ad2def7123f5cf1f540ac14 /lldb/unittests
parenta33ba2b5510f01750a0071261c5798be23cf1a8b (diff)
downloadllvm-123f939c14f7a3c8e641d0348c1ad286538d4f1a.tar.gz
[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
Diffstat (limited to 'lldb/unittests')
-rw-r--r--lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp b/lldb/unittests/Language/ObjC/ObjCLanguageTest.cpp
index e9cb5d1b3214..683b16d5dcbe 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!",