[Lldb-commits] [lldb] 70cea38 - [lldb/Test] Sort substr for TestDataFormatterStdMap.py
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 3 20:35:49 PST 2020
Author: Jonas Devlieghere
Date: 2020-02-03T20:35:43-08:00
New Revision: 70cea38ff7faa21e760dc9b252d968160f808d23
URL: https://github.com/llvm/llvm-project/commit/70cea38ff7faa21e760dc9b252d968160f808d23
DIFF: https://github.com/llvm/llvm-project/commit/70cea38ff7faa21e760dc9b252d968160f808d23.diff
LOG: [lldb/Test] Sort substr for TestDataFormatterStdMap.py
Added:
Modified:
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
index 0d991e569a43..b3692d086dcd 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
@@ -203,33 +203,17 @@ def cleanup():
self.expect("frame variable is",
substrs=['map has 4 items',
- '[0] = ',
- 'second = \"goofy\"',
- 'first = 85',
- '[1] = ',
- 'second = \"is\"',
- 'first = 1',
- '[2] = ',
- 'second = \"smart\"',
- 'first = 2',
- '[3] = ',
- 'second = \"!!!\"',
- 'first = 3'])
+ '[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] = ',
- 'second = \"goofy\"',
- 'first = 85',
- '[1] = ',
- 'second = \"is\"',
- 'first = 1',
- '[2] = ',
- 'second = \"smart\"',
- 'first = 2',
- '[3] = ',
- 'second = \"!!!\"',
- 'first = 3'])
+ '[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]",
More information about the lldb-commits
mailing list