[Lldb-commits] [lldb] r148971 - /lldb/trunk/test/functionalities/completion/TestCompletion.py

Johnny Chen johnny.chen at apple.com
Wed Jan 25 12:25:39 PST 2012


Author: johnny
Date: Wed Jan 25 14:25:38 2012
New Revision: 148971

URL: http://llvm.org/viewvc/llvm-project?rev=148971&view=rev
Log:
Cleanup docstring and remove dead code.

Modified:
    lldb/trunk/test/functionalities/completion/TestCompletion.py

Modified: lldb/trunk/test/functionalities/completion/TestCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/completion/TestCompletion.py?rev=148971&r1=148970&r2=148971&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/test/functionalities/completion/TestCompletion.py Wed Jan 25 14:25:38 2012
@@ -91,11 +91,10 @@
                                'target.process.thread.trace-thread'])
 
     def complete_from_to(self, str_input, patterns):
-        """Test the completion mechanism completes str_input to pattern, where
-        patterns could be a pattern-string or a list of pattern-strings"""
+        """Test that the completion mechanism completes str_input to patterns,
+        where patterns could be a pattern-string or a list of pattern-strings"""
+        # The default lldb prompt.
         prompt = "(lldb) "
-        add_prompt = "Enter your stop hook command(s).  Type 'DONE' to end.\r\n> "
-        add_prompt1 = "\r\n> "
 
         # So that the child gets torn down after the test.
         self.child = pexpect.spawn('%s %s' % (self.lldbHere, self.lldbOption))





More information about the lldb-commits mailing list