aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/file_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-27 19:27:18 +0900
committerOphestra <cat@gensokyo.uk>2026-01-27 20:18:34 +0900
commit968d8dbaf14fa0e7965a8a525d74a2d8d6a20c50 (patch)
tree9ba3503fbc586eb504dfacfa3a471ff68a39b1e2 /internal/pkg/file_test.go
parentf1758a6fa8621777cb9129443b6de193c885228f (diff)
internal/pkg: encode checksum in ident
This also rearranges the ident ir to be more predictable, and avoids an obvious and somewhat easy to get into inconsistent state. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/file_test.go')
-rw-r--r--internal/pkg/file_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/file_test.go b/internal/pkg/file_test.go
index 07dac04c..ec5e98cd 100644
--- a/internal/pkg/file_test.go
+++ b/internal/pkg/file_test.go
@@ -17,13 +17,13 @@ func TestFile(t *testing.T) {
cureMany(t, c, []cureStep{
{"short", pkg.NewFile("null", []byte{0}), base.Append(
"identifier",
- "lIx_W4M7tVOcQ8jh08EJOfXf4brRmkEEjvUa7c17vVUzlmtUxlhhrgqmc9aZhjbn",
+ "3nNZXzfgfDW2aHqmgf1VpJUYxe1GMzU7eA9Q_NnNVTDPpPOCTYKEVX-yscOiLT-e",
), pkg.MustDecode(
"vsAhtPNo4waRNOASwrQwcIPTqb3SBuJOXw2G4T1mNmVZM-wrQTRllmgXqcIIoRcX",
), nil},
})
}, pkg.MustDecode(
- "hnrfmJtivNKcgtETsKnU9gP_OwPgpNY3DSUJnmxnmeOODSO-YBvEBiTgieY4AAd7",
+ "azjTvqkTjLhFzvPDM4DEHiHyLupOnRq9GCikVN6DEElR1Gxz_BDo4SA0zZzaYUGa",
)},
})
}