diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-03 20:56:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-03 20:56:11 +0900 |
| commit | deda16da38187091ec59d28fb4fbc672ff71e70e (patch) | |
| tree | bee9667be77586bb6ab4850b2a1f05d5e836f6e1 /internal/pkg/net_test.go | |
| parent | 55465c6e72a1ca0a1d7fc719ca73d18531e911fe (diff) | |
internal/pkg: create work directory
This is used for artifacts that cure into directories.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/net_test.go')
| -rw-r--r-- | internal/pkg/net_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/pkg/net_test.go b/internal/pkg/net_test.go index 87bda6d7..016d0de8 100644 --- a/internal/pkg/net_test.go +++ b/internal/pkg/net_test.go @@ -65,7 +65,7 @@ func TestHTTP(t *testing.T) { } else if gotIdent := f.ID(); gotIdent != (pkg.Checksum{}) { t.Fatalf("ID: %x, want %x", gotIdent, pkg.Checksum{}) } - }, pkg.MustDecode("ANVz3GwS4oTcFTOjbc-n_N6MtycCtkELMBJB0ohuRz02PtmWZEJF8v3I51DtM0CY")}, + }, pkg.MustDecode("E4vEZKhCcL2gPZ2Tt59FS3lDng-d_2SKa2i5G_RbDfwGn6EemptFaGLPUDiOa94C")}, {"load or store", nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { f, err := c.NewHTTPGet(&client, "file:///testdata", testdataChecksum) @@ -120,7 +120,7 @@ func TestHTTP(t *testing.T) { } else if gotIdent := f.ID(); gotIdent != (pkg.Checksum{}) { t.Fatalf("ID: %x, want %x", gotIdent, pkg.Checksum{}) } - }, pkg.MustDecode("5ns3Ky8-n_pETpwO3UYA88FKKLins6kxtgRQBEfSiGIpZXu6QCBOW2ukm-nWnUwC")}, + }, pkg.MustDecode("bAJdeuI2cITlff5uIDbMKIiaW6zB-_XGinOMOMjNmltL3YAanXLiV64_jsXeQMXn")}, {"store", nil, func(t *testing.T, base *check.Absolute, c *pkg.Cache) { var ( @@ -149,6 +149,6 @@ func TestHTTP(t *testing.T) { } else if checksum != testdataChecksum { t.Fatalf("Hash: %x, want %x", checksum, testdataChecksum) } - }, pkg.MustDecode("5ns3Ky8-n_pETpwO3UYA88FKKLins6kxtgRQBEfSiGIpZXu6QCBOW2ukm-nWnUwC")}, + }, pkg.MustDecode("bAJdeuI2cITlff5uIDbMKIiaW6zB-_XGinOMOMjNmltL3YAanXLiV64_jsXeQMXn")}, }) } |
