From c8d1d6e8b4635a6d07b78e8daad83716762e5413 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 5 Apr 2021 15:39:14 -0500 Subject: [PATCH] sigh --- pkg/cmd/run/view/view_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/run/view/view_test.go b/pkg/cmd/run/view/view_test.go index ffa46ad06..1cbd7fda6 100644 --- a/pkg/cmd/run/view/view_test.go +++ b/pkg/cmd/run/view/view_test.go @@ -423,7 +423,7 @@ func TestViewRun(t *testing.T) { httpmock.REST("GET", "repos/OWNER/REPO/actions/runs/3/logs"), httpmock.StringResponse("pretend these bytes constitute a zip file")) }, - wantOut: "✓ Downloaded logs to /tmp/gh-run-log-3.zip\n", + wantOut: "✓ Downloaded logs to " + path.Join(os.TempDir(), "gh-run-log-3.zip") + "\n", wantWrite: "pretend these bytes constitute a zip file", }, {