[Lldb-commits] [lldb] ebee165 - [lldb][NFC] Fix indentation in expect_expr

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 8 03:33:58 PDT 2020


Author: Raphael Isemann
Date: 2020-07-08T12:33:31+02:00
New Revision: ebee165184a8000b7f650f0946b25b6ea51859b8

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

LOG: [lldb][NFC] Fix indentation in expect_expr

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/lldbtest.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 35865d9e0d5c..ddb79de0ab32 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -2476,10 +2476,10 @@ def expect_expr(
         options.SetIgnoreBreakpoints(True)
 
         if self.frame().IsValid():
-          options.SetLanguage(frame.GuessLanguage())
-          eval_result = self.frame().EvaluateExpression(expr, options)
+            options.SetLanguage(frame.GuessLanguage())
+            eval_result = self.frame().EvaluateExpression(expr, options)
         else:
-          eval_result = self.target().EvaluateExpression(expr, options)
+            eval_result = self.target().EvaluateExpression(expr, options)
 
         self.assertSuccess(eval_result.GetError())
 


        


More information about the lldb-commits mailing list