From 063568828b5c8ebaa5aee710e6292d304719cc90 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 15 Feb 2024 14:27:33 +0800 Subject: [PATCH] Add utils package import and dump output in process_test.go --- pipe/process_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pipe/process_test.go b/pipe/process_test.go index cee81e23..b79ba95b 100644 --- a/pipe/process_test.go +++ b/pipe/process_test.go @@ -6,6 +6,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/yaoapp/gou/process" "github.com/yaoapp/kun/any" + "github.com/yaoapp/kun/utils" "github.com/yaoapp/yao/test" ) @@ -19,6 +20,8 @@ func TestProcessPipes(t *testing.T) { } output, err := p.Exec() + utils.Dump(output) + res := any.Of(output).Map().MapStrAny.Dot() assert.True(t, res.Has("global")) assert.True(t, res.Has("input"))