Author: Dave Lee
Date: 2020-11-11T16:17:38-08:00
New Revision: 0783ad9e6a2c1156ca0bf5493473d6c98f006593

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

LOG: [lldb] Switch expect to runCmd in TestRecursiveTypes (NFC)

Following discussion in D91193, a change made in D88792 was not quite right.
This restores the message argument, and switches from `expect` to `runCmd`.

Differential Revision: https://reviews.llvm.org/D91206

Added: 
    

Modified: 
    lldb/test/API/types/TestRecursiveTypes.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/types/TestRecursiveTypes.py 
b/lldb/test/API/types/TestRecursiveTypes.py
index 8e84a052a22b..8deb193677a9 100644
--- a/lldb/test/API/types/TestRecursiveTypes.py
+++ b/lldb/test/API/types/TestRecursiveTypes.py
@@ -50,5 +50,5 @@ def print_struct(self):
 
         self.runCmd("run", RUN_SUCCEEDED)
 
-        self.expect("print tpi")
-        self.expect("print *tpi")
+        self.runCmd("print tpi")
+        self.runCmd("print *tpi")


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to