From 9c3f45f574b09af259fddbb4b8dbb20b64a08de8 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Tue, 7 May 2024 16:25:58 -0400 Subject: [PATCH] test: fix name for the Grep gadget --- test/gadgets_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gadgets_test.go b/test/gadgets_test.go index 885736efb..b415b64b2 100644 --- a/test/gadgets_test.go +++ b/test/gadgets_test.go @@ -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),