From 610572d0e6a6edfe3c2ffd1bfcca1396cad6818f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 12 Jan 2026 04:34:50 +0900 Subject: internal/pkg: optionally named static file These are generally for generating configuration files or build scripts, naming them is quite useful. Signed-off-by: Ophestra --- internal/pkg/file_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg/file_test.go') diff --git a/internal/pkg/file_test.go b/internal/pkg/file_test.go index 48e55624..07dac04c 100644 --- a/internal/pkg/file_test.go +++ b/internal/pkg/file_test.go @@ -15,7 +15,7 @@ func TestFile(t *testing.T) { c.SetStrict(true) cureMany(t, c, []cureStep{ - {"short", pkg.NewFile([]byte{0}), base.Append( + {"short", pkg.NewFile("null", []byte{0}), base.Append( "identifier", "lIx_W4M7tVOcQ8jh08EJOfXf4brRmkEEjvUa7c17vVUzlmtUxlhhrgqmc9aZhjbn", ), pkg.MustDecode( -- cgit v1.3.1