From c0dee8d8943286e5e8788cc0cac4d4ce489327c8 Mon Sep 17 00:00:00 2001 From: cacharle Date: Fri, 13 Nov 2020 07:51:54 +0100 Subject: Update README.md --- README.md | 6 ++++-- 1 file 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", -- cgit