docs
diff --git a/README.md b/README.md index 2e60e92..6eee99c 100644 --- a/README.md +++ b/README.md
@@ -189,12 +189,13 @@ } ``` -The expected output can be specified with a heredoc or standard input as well. +The expected output can be specified with a heredoc or standard input as well, +by providing `-` as an option. ```bash @test 'assert_output() with pipe' { run echo 'have' - echo 'want' | assert_output + echo 'want' | assert_output - } ``` @@ -287,12 +288,13 @@ } ``` --The unexpected output can be specified with a heredoc or standard input as well. +The unexpected output can be specified with a heredoc or standard input as well, +by providing `-` as an option. ```bash @test 'refute_output() with pipe' { run echo 'want' - echo 'want' | refute_output + echo 'want' | refute_output - } ```