diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-02-04 14:41:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-02-05 08:24:09 +0900 |
| commit | e0c720681bbce364910df241658dc987851e579a (patch) | |
| tree | bdbfbd67f26d562e8f1b2b2980a4bde6a10c94cc /internal/pkg/net_test.go | |
| parent | f982b13a59a59e22d1ff3fdf791c1aa86b9420df (diff) | |
internal/pkg: standardise artifact IR
This should hopefully provide good separation between the artifact curing backend implementation and the (still work in progress) language. Making the IR parseable also guarantees uniqueness of the representation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/net_test.go')
| -rw-r--r-- | internal/pkg/net_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/net_test.go b/internal/pkg/net_test.go index f953f662..5f92c2c0 100644 --- a/internal/pkg/net_test.go +++ b/internal/pkg/net_test.go @@ -109,7 +109,7 @@ func TestHTTPGet(t *testing.T) { ) wantPathname := base.Append( "identifier", - "00BNNr-PsNMtowTpEG86ZeI7eQKoD-pjSCPAal1e5MYqr_N7FLpyXKdXLXE8WEBF", + "oM-2pUlk-mOxK1t3aMWZer69UdOQlAXiAgMrpZ1476VoOqpYVP1aGFS9_HYy-D8_", ) if pathname, checksum, err := c.Cure(f); err != nil { t.Fatalf("Cure: error = %v", err) @@ -156,6 +156,6 @@ func TestHTTPGet(t *testing.T) { if _, _, err := c.Cure(f); !reflect.DeepEqual(err, wantErrNotFound) { t.Fatalf("Pathname: error = %#v, want %#v", err, wantErrNotFound) } - }, pkg.MustDecode("KkdL8x2a84V8iYZop5jSTyba54xSgf_NZ1R0c4nSp9xTdk3SK_zUKGhNJ2uK8wMY")}, + }, pkg.MustDecode("L_0RFHpr9JUS4Zp14rz2dESSRvfLzpvqsLhR1-YjQt8hYlmEdVl7vI3_-v8UNPKs")}, }) } |
