(Chore): Updated the unit test to reflect the changes in types.go

This commit is contained in:
2025-11-22 08:36:29 +00:00
parent 35f042be34
commit b2afdd96e9

View File

@@ -14,6 +14,7 @@ func TestArchiveTypeConstants(t *testing.T) {
{"TARGZ type", TARGZ, "TAR.GZ"},
{"TAR type", TAR, "TAR"},
{"GZIP type", GZIP, "GZIP"},
{"RAR type", RAR, "RAR"},
{"AUTO type", AUTO, "AUTO"},
}
@@ -90,4 +91,4 @@ func TestArchiveInfo(t *testing.T) {
if len(info.Files) != 1 {
t.Errorf("Files length = %d; want %d", len(info.Files), 1)
}
}
}