summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
index 4d18cfc980f..066d94bd19d 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
@@ -21,8 +21,7 @@ class ExprCommandCallStopContinueTestCase(TestBase):
# Find the line number to break for main.c.
self.line = line_number('main.cpp',
'// Please test these expressions while stopped at this line:')
- self.func_line = line_number ('main.cpp',
- '{ 5, "five" }')
+ self.func_line = line_number ('main.cpp', '{5, "five"}')
@expectedFlakeyDarwin("llvm.org/pr20274")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
index 9b494c712bc..cc5f52dbf56 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
@@ -11,7 +11,7 @@ struct Five
Five
returnsFive()
{
- Five my_five = { 5, "five" };
+ Five my_five = {5, "five"};
return my_five;
}
OpenPOWER on IntegriCloud