[Lldb-commits] [lldb] r206619 - Fix TestPtrRef2Typedef with new const adornment on expected ref type.

Todd Fiala tfiala at google.com
Fri Apr 18 10:04:21 PDT 2014


Author: tfiala
Date: Fri Apr 18 12:04:21 2014
New Revision: 206619

URL: http://llvm.org/viewvc/llvm-project?rev=206619&view=rev
Log:
Fix TestPtrRef2Typedef with new const adornment on expected ref type.

Modified:
    lldb/trunk/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py

Modified: lldb/trunk/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py?rev=206619&r1=206618&r2=206619&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py Fri Apr 18 12:04:21 2014
@@ -58,8 +58,8 @@ class PtrRef2TypedefTestCase(TestBase):
         self.runCmd('type summary add --cascade true -s "IntRRef" "int &&"')
 
         self.expect("frame variable x", substrs = ['(Foo *) x = 0x','IntPointer'])
-        self.expect("frame variable y", substrs = ['(Foo &) y = 0x','IntLRef'])
-        self.expect("frame variable z", substrs = ['(Foo &&) z = 0x','IntRRef'])
+        self.expect("frame variable y", substrs = ['(Foo &const) y = 0x','IntLRef'])
+        self.expect("frame variable z", substrs = ['(Foo &&const) z = 0x','IntRRef'])
 
 if __name__ == '__main__':
     import atexit





More information about the lldb-commits mailing list