Rev 4686: Fix some typos mentioned by Martin. in file:///home/vila/src/bzr/experimental/shell-like-tests/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Sep 18 09:48:23 BST 2009


At file:///home/vila/src/bzr/experimental/shell-like-tests/

------------------------------------------------------------
revno: 4686
revision-id: v.ladeuil+lp at free.fr-20090918084823-pul3e5pbvb4gvrff
parent: v.ladeuil+lp at free.fr-20090917141515-6e3yzx8v0oirgeyd
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: shell-like-tests
timestamp: Fri 2009-09-18 10:48:23 +0200
message:
  Fix some typos mentioned by Martin.
-------------- next part --------------
=== modified file 'bzrlib/tests/script.py'
--- a/bzrlib/tests/script.py	2009-09-17 14:15:15 +0000
+++ b/bzrlib/tests/script.py	2009-09-18 08:48:23 +0000
@@ -16,7 +16,7 @@
 
 """Shell-like test scripts.
 
-See developpers/testing.html for more explanations.
+See developers/testing.html for more explanations.
 """
 
 import doctest
@@ -44,13 +44,16 @@
 def _script_to_commands(text, file_name=None):
     """Turn a script into a list of commands with their associated IOs.
 
-    Each command appears on a line by itself. It can be associated with an
-    input that will feed it and an expected output.
+    Each command appears on a line by itself starting with '$ '. It can be
+    associated with an input that will feed it and an expected output.
+
     Comments starts with '#' until the end of line.
     Empty lines are ignored.
+
     Input and output are full lines terminated by a '\n'.
+
     Input lines start with '<'.
-    Output lines start with '>'.
+    Output lines start with nothing.
     Error lines start with '2>'.
     """
 



More information about the bazaar-commits mailing list