From 27ab2b31436d734576fa5d15459d950a7be912ef Mon Sep 17 00:00:00 2001 From: Siva Chandra Date: Wed, 27 May 2015 22:03:09 +0000 Subject: [PATCH] [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 llvm-svn: 238361 --- .../data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py index dfcd0f0..921f837 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py @@ -31,7 +31,7 @@ class LibcxxUnorderedDataFormatterTestCase(TestBase): 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 LibcxxUnorderedDataFormatterTestCase(TestBase): 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"']) -- 2.7.4