aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index e8c01d5..4536d64 100644
--- a/README.md
+++ b/README.md
@@ -127,8 +127,10 @@ In your suite function you can use the `test` function. With the following argum
test("echo bonjour je suis") # simple command
test("cat < somefile", setup="echo file content > somefile") # setup
test("ls > somefile", setup="", files=["somefile"]) # watch a file
-test("echo $A", exports={"A": "a"}) # export variables in the environment
-test("echo bonjour", hook=lambda s: s.replace("o", "a")) # pass the shell output through a hook function
+test("echo $A", exports={"A": "a"}) # export variables
+ # in the environment
+test("echo bonjour", hook=lambda s: s.replace("o", "a")) # pass the shell output
+ # through a hook function
test("cat < somefile > otherfile",
setup="echo file content > somefile",