Fix TestPtrRef2Typedef with new const adornment on expected ref type.
authorTodd Fiala <tfiala@google.com>
Fri, 18 Apr 2014 17:04:21 +0000 (17:04 +0000)
committerTodd Fiala <tfiala@google.com>
Fri, 18 Apr 2014 17:04:21 +0000 (17:04 +0000)
llvm-svn: 206619

lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py

index 74f7b9a..e1f295c 100644 (file)
@@ -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