[lldb/Test] Fix typo in TestDataFormatterStdMap.py

This commit is contained in:
Jonas Devlieghere 2020-02-03 20:44:53 -08:00
parent 70cea38ff7
commit 4c05019dc0
1 changed files with 16 additions and 12 deletions

View File

@ -201,19 +201,23 @@ class StdMapDataFormatterTestCase(TestBase):
self.runCmd("c")
self.expect("frame variable is",
substrs=['map has 4 items',
'[0] = (first = 1, second = "is")',
'[1] = (first = 2, second = "smart")',
'[2] = (first = 3, second = "!!!")',
'[3] = (first = 85, second = "goofy")')
self.expect(
"frame variable is",
substrs=[
'map has 4 items', '[0] = (first = 1, second = "is")',
'[1] = (first = 2, second = "smart")',
'[2] = (first = 3, second = "!!!")',
'[3] = (first = 85, second = "goofy")'
])
self.expect("p is",
substrs=['map has 4 items',
'[0] = (first = 1, second = "is")',
'[1] = (first = 2, second = "smart")',
'[2] = (first = 3, second = "!!!")',
'[3] = (first = 85, second = "goofy")')
self.expect(
"p is",
substrs=[
'map has 4 items', '[0] = (first = 1, second = "is")',
'[1] = (first = 2, second = "smart")',
'[2] = (first = 3, second = "!!!")',
'[3] = (first = 85, second = "goofy")'
])
# check access-by-index
self.expect("frame variable is[0]",