Skip to content

Commit 97b15fe

Browse files
committed
xplatform oops
1 parent b5fc794 commit 97b15fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/cmd/run/view/view_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import (
55
"io"
66
"io/ioutil"
77
"net/http"
8+
"os"
9+
"path"
810
"testing"
911
"time"
1012

@@ -403,7 +405,7 @@ func TestViewRun(t *testing.T) {
403405
as.StubOne(2)
404406
as.StubOne(0)
405407
},
406-
wantOut: "✓ Downloaded logs to /tmp/gh-run-log-3.zip\n",
408+
wantOut: "✓ Downloaded logs to " + path.Join(os.TempDir(), "gh-run-log-3.zip") + "\n",
407409
wantWrite: "pretend these bytes constitute a zip file",
408410
},
409411
{

0 commit comments

Comments
 (0)