[Lldb-commits] [lldb] 4c05019 - [lldb/Test] Fix typo in TestDataFormatterStdMap.py

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 3 20:45:02 PST 2020


Author: Jonas Devlieghere
Date: 2020-02-03T20:44:53-08:00
New Revision: 4c05019dc0cdf1b88bb229677f45c9a13074b84f

URL: https://github.com/llvm/llvm-project/commit/4c05019dc0cdf1b88bb229677f45c9a13074b84f
DIFF: https://github.com/llvm/llvm-project/commit/4c05019dc0cdf1b88bb229677f45c9a13074b84f.diff

LOG: [lldb/Test] Fix typo in 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 b3692d086dcd..0e32e49f73ae 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
@@ -201,19 +201,23 @@ def cleanup():
 
         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]",


        


More information about the lldb-commits mailing list