diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-12 04:34:50 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-12 04:34:50 +0900 |
| commit | 610572d0e6a6edfe3c2ffd1bfcca1396cad6818f (patch) | |
| tree | 9fed46f6f3075b8391b6ab0891880b7f539069aa /internal/pkg/file_test.go | |
| parent | 29951c51749f1c3f5ca96488bff6eee247c03dc7 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/file_test.go')
| -rw-r--r-- | internal/pkg/file_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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( |
