summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-07-30 13:11:59 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-07-30 13:11:59 +0000
commit0b99518097c4b521bc52df71721633f1efc1cfd8 (patch)
tree033439e0883fd938f76b4441a21003eee3c2bfc1 /lldb/packages/Python/lldbsuite/test/expression_command
parente010f6bab39f76cfbb0b4dc1c0d4700b078c53e3 (diff)
downloadbcm5719-llvm-0b99518097c4b521bc52df71721633f1efc1cfd8.tar.gz
bcm5719-llvm-0b99518097c4b521bc52df71721633f1efc1cfd8.zip
[lldb][NFC] Fix import-std-module tests that relied on fix-its to pass
These tests currently pass, but they rely on fix-its in our expression parser to pass because they have some typos. llvm-svn: 367309
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/deque-dbg-info-content/TestDbgInfoContentDeque.py8
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardList.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/deque-dbg-info-content/TestDbgInfoContentDeque.py b/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/deque-dbg-info-content/TestDbgInfoContentDeque.py
index 4df280f32d1..eeea34819dd 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/deque-dbg-info-content/TestDbgInfoContentDeque.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/deque-dbg-info-content/TestDbgInfoContentDeque.py
@@ -25,12 +25,12 @@ class TestDbgInfoContentDeque(TestBase):
self.runCmd("settings set target.import-std-module true")
self.expect("expr (size_t)a.size()", substrs=['(size_t) $0 = 3'])
- self.expect("expr (int)a.front()->a", substrs=['(int) $1 = 3'])
- self.expect("expr (int)a.back()->a", substrs=['(int) $2 = 2'])
+ self.expect("expr (int)a.front().a", substrs=['(int) $1 = 3'])
+ self.expect("expr (int)a.back().a", substrs=['(int) $2 = 2'])
self.expect("expr std::reverse(a.begin(), a.end())")
- self.expect("expr (int)a.front()->a", substrs=['(int) $3 = 2'])
- self.expect("expr (int)a.back()->a", substrs=['(int) $4 = 3'])
+ self.expect("expr (int)a.front().a", substrs=['(int) $3 = 2'])
+ self.expect("expr (int)a.back().a", substrs=['(int) $4 = 3'])
self.expect("expr (int)(a.begin()->a)", substrs=['(int) $5 = 2'])
self.expect("expr (int)(a.rbegin()->a)", substrs=['(int) $6 = 3'])
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardList.py b/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardList.py
index 6e7be3ec00f..a2fc5598930 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardList.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardList.py
@@ -25,7 +25,7 @@ class TestDbgInfoContentForwardList(TestBase):
self.runCmd("settings set target.import-std-module true")
self.expect("expr (size_t)std::distance(a.begin(), a.end())", substrs=['(size_t) $0 = 3'])
- self.expect("expr (int)a.front()->a", substrs=['(int) $1 = 3'])
+ self.expect("expr (int)a.front().a", substrs=['(int) $1 = 3'])
self.expect("expr (int)(a.begin()->a)", substrs=['(int) $2 = 3'])
OpenPOWER on IntegriCloud