Update clientupdate/distsign/distsign_test.go

Co-authored-by: Andrew Lytvynov <awly@tailscale.com>
Signed-off-by: Aaron Klotz <aaron@tailscale.com>
pull/9246/head
Aaron Klotz 1 year ago
parent 7d60c19d7d
commit 7686ff6c46

@ -204,9 +204,6 @@ func TestValidateLocalBinary(t *testing.T) {
want := []byte("world") want := []byte("world")
srv.addSigned("hello", want) srv.addSigned("hello", want)
dst := filepath.Join(t.TempDir(), tt.src) dst := filepath.Join(t.TempDir(), tt.src)
t.Cleanup(func() {
os.Remove(dst)
})
err := c.Download(context.Background(), tt.src, dst) err := c.Download(context.Background(), tt.src, dst)
if err != nil { if err != nil {
t.Fatalf("unexpected error from Download(%q): %v", tt.src, err) t.Fatalf("unexpected error from Download(%q): %v", tt.src, err)

Loading…
Cancel
Save