Tests: format3_unsigned among the official fixtures

The last commit added the fixture and left the lists of the tests and the
count of frozen inspect outputs behind: TestInspectJSONGoldens failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.12
dev 6 days ago
parent e5977605d9
commit 0f51af780a

@ -36,7 +36,7 @@ var fixtureNames = []string{
"format2_time_and_key_portable", "format2_time_and_key_recipients", "format2_time_and_key_sixteen",
"format3_single", "format3_tree", "format3_comment_only", "format3_bloque256", "format3_time_and_key_portable",
"format3_area_1024", "format3_security_v2", "format3_signature_unsupported", "format3_seal_unsupported",
"format3_signed", "format3_signed_cms", "format3_sealed",
"format3_unsigned", "format3_signed", "format3_signed_cms", "format3_sealed",
}
type fixture struct {

@ -165,6 +165,7 @@ func TestDecryptFormat3Fixtures(t *testing.T) {
{"format3_comment_only", ""},
{"format3_time_and_key_portable", "format3_time_and_key_portable.dkk"},
{"format3_seal_unsupported", ""},
{"format3_unsigned", ""},
{"format3_signed", ""},
{"format3_signed_cms", ""},
{"format3_sealed", ""},
@ -515,8 +516,8 @@ func TestInspectJSONGoldens(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if len(names) != len(dkcs) || len(dkcs) != 24 {
t.Fatalf("%d frozen inspect outputs, want one per official .dkc (%d, 24)", len(names), len(dkcs))
if len(names) != len(dkcs) || len(dkcs) != 25 {
t.Fatalf("%d frozen inspect outputs, want one per official .dkc (%d, 25)", len(names), len(dkcs))
}
t.Chdir(fixtures)
for _, path := range names {

Loading…
Cancel
Save

Powered by TurnKey Linux.