[Lldb-commits] [lldb] r238361 - [TestDataFormatterUnordered] Fix a few typos in the test.

Siva Chandra sivachandra at google.com
Wed May 27 15:03:09 PDT 2015


Author: sivachandra
Date: Wed May 27 17:03:09 2015
New Revision: 238361

URL: http://llvm.org/viewvc/llvm-project?rev=238361&view=rev
Log:
[TestDataFormatterUnordered] Fix a few typos in the test.

Summary: The typos were exposed by http://reviews.llvm.org/D9948.

Test Plan: dotest.py -p TestDataFormatterUnordered

Reviewers: vharron, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10071

Modified:
    lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py

Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py?rev=238361&r1=238360&r2=238361&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py Wed May 27 17:03:09 2015
@@ -31,7 +31,7 @@ class LibcxxUnorderedDataFormatterTestCa
         TestBase.setUp(self)
 
     def look_for_content_and_continue(self,var_name,substrs):
-        self.expect( ("frame variable %s" % var_name), substrs )
+        self.expect( ("frame variable %s" % var_name), substrs=substrs)
         self.runCmd("continue")
 
     def data_formatter_commands(self):
@@ -61,7 +61,7 @@ class LibcxxUnorderedDataFormatterTestCa
 
         self.expect('image list', substrs = self.getLibcPlusPlusLibs())
 
-        self.look_for_content_and_continue("map",['size=5 {,''hello','world','this','is','me'])
+        self.look_for_content_and_continue("map",['size=5 {', 'hello','world','this','is','me'])
         self.look_for_content_and_continue("mmap",['size=6 {','first = 3','second = "this"','first = 2','second = "hello"'])
         self.look_for_content_and_continue("iset",['size=5 {','[0] = 5','[2] = 3','[3] = 2'])
         self.look_for_content_and_continue("sset",['size=5 {','[0] = "is"','[1] = "world"','[4] = "hello"'])





More information about the lldb-commits mailing list