diff options
author | Enrico Granata <egranata@apple.com> | 2012-03-28 22:17:37 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-03-28 22:17:37 +0000 |
commit | 770eb05aa5347fe59b7e7674094b20f76eeb5625 (patch) | |
tree | cf3f12edf404a064216627ea67529d864ae90ed0 /lldb/test/functionalities/data-formatter/data-formatter-objc | |
parent | bfee542ccedd364accd6746ff6e04a2bfb29a9ad (diff) | |
download | bcm5719-llvm-770eb05aa5347fe59b7e7674094b20f76eeb5625.tar.gz bcm5719-llvm-770eb05aa5347fe59b7e7674094b20f76eeb5625.zip |
Fixing an issue where saying 'po foo' made both the summary and the description for foo come out. If one is po'ing something they most probably only care about the description - We will not omit the summary
llvm-svn: 153608
Diffstat (limited to 'lldb/test/functionalities/data-formatter/data-formatter-objc')
-rw-r--r-- | lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py index baeff4c3a9a..b2cc5245b00 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py @@ -358,6 +358,12 @@ class ObjCDataFormatterTestCase(TestBase): self.expect('expr -d true -- @"Hello"', substrs = ['Hello']) + self.expect('expr -d true -o -- @"Hello"', + substrs = ['Hello']) + self.expect('expr -d true -o -- @"Hello"', matching=False, + substrs = ['@"Hello" Hello']) + + def cf_data_formatter_commands(self): """Test formatters for Core OSX frameworks.""" self.runCmd("file a.out", CURRENT_EXECUTABLE_SET) |