Skip to content

Commit 4730cb8

Browse files
Pascal Grangewolframroesler
authored andcommitted
Forget about testing this malformed output
This does not add so much value but is an impediment for the next evolutions.
1 parent 4751861 commit 4730cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ With bash, the result code of a pipeline equals the result code of the last comm
604604

605605
An alternative may be to activate bash _pipefail_ option but this may introduce unwanted side effects. We can also simply not output anything in __ps_ so that _grep_ fails:
606606

607-
```test
607+
```shell
608608
code() {
609609
ps a | grep apache
610610
}
@@ -626,7 +626,7 @@ bad, don't do that.
626626

627627
Moreover, *assert_equals* output is captured by _ps_ and this just messes with the display of our test results:
628628

629-
```output
629+
```shell
630630
Running test_code_gives_ps_appropriate_parameters ...
631631
```
632632

0 commit comments

Comments
 (0)