From 7e961965b6e53efaf3e6a56da2ac06794818d200 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 19 Apr 2023 22:55:42 +0200 Subject: fix: update TestCommandWorkingDir Signed-off-by: Valery Piashchynski --- internal/cli/root_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/cli/root_test.go b/internal/cli/root_test.go index b9795444..856c9a9a 100644 --- a/internal/cli/root_test.go +++ b/internal/cli/root_test.go @@ -158,7 +158,7 @@ func TestCommandWorkingDir(t *testing.T) { assert.NoError(t, cmd.Execute()) assert.True(t, executed) - assert.Equal(t, "/tmp", wd) + assert.Equal(t, tmp, wd) t.Cleanup(func() { _ = f2.Close() -- cgit v1.2.3