Skip to content

Commit cf8e513

Browse files
committed
Fix script example for diagnostic grepping
1 parent 7bddf3a commit cf8e513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/examples/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo "$OUTPUT"
2424
# This indicates a regression when the text "non-ASCII" is in the output.
2525
#
2626
# If the regression is when the text is *not* in the output, remove the `!` prefix.
27-
! grep "non-ASCII" "$OUTPUT"
27+
! echo "$OUTPUT" | grep "non-ASCII"
2828
```
2929

3030
Then run something like:

0 commit comments

Comments
 (0)