summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/foundation/TestObjCMethods.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/test/foundation/TestObjCMethods.py b/lldb/test/foundation/TestObjCMethods.py
index b166659f07c..eb1c838f6e1 100644
--- a/lldb/test/foundation/TestObjCMethods.py
+++ b/lldb/test/foundation/TestObjCMethods.py
@@ -108,8 +108,9 @@ class FoundationTestCase(TestBase):
'clang_type = "@interface MyString'])
self.expect("frame variable -s", VARIABLES_DISPLAYED_CORRECTLY,
- substrs = ["ARG: (MyString *) self",
- "ARG: (SEL) _cmd"])
+ substrs = ["ARG: (MyString *) self"],
+ patterns = ["ARG: \(.*\) _cmd",
+ "(struct objc_selector *)|(SEL)"])
# Test new feature with r115115:
# Add "-o" option to "expression" which prints the object description if available.
OpenPOWER on IntegriCloud