From b2afdd96e9680c3f79063ebdf32a74c95badf24a Mon Sep 17 00:00:00 2001 From: bereck-work Date: Sat, 22 Nov 2025 08:36:29 +0000 Subject: [PATCH] (Chore): Updated the unit test to reflect the changes in types.go --- internal/models/types_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/models/types_test.go b/internal/models/types_test.go index 189682b..5804330 100644 --- a/internal/models/types_test.go +++ b/internal/models/types_test.go @@ -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) } -} +} \ No newline at end of file