test: fix name for the Grep gadget

This commit is contained in:
Lucas Bajolet
2024-06-07 14:38:20 -04:00
parent 299a5af5c5
commit 9c3f45f574
+1 -1
View File
@@ -102,7 +102,7 @@ const (
// Note: by default both streams will be checked by the grep
func Grep(expression string, opts ...grepOpts) Checker {
pc := PipeChecker{
name: "command | grep -E %q",
name: fmt.Sprintf("command | grep -E %q", expression),
stream: BothStreams,
pipers: []Pipe{
PipeGrep(expression),