archive: add "none" compression format (MR 25)
This commit is contained in:
@@ -238,7 +238,7 @@ func TestExtractFormatLevel(t *testing.T) {
|
||||
expectedLevel: LevelBest,
|
||||
},
|
||||
{
|
||||
name: "none, none",
|
||||
name: "<empty>, <empty>",
|
||||
in: "",
|
||||
expectedFormat: FormatGzip,
|
||||
expectedLevel: LevelDefault,
|
||||
@@ -249,6 +249,12 @@ func TestExtractFormatLevel(t *testing.T) {
|
||||
expectedFormat: FormatLzma,
|
||||
expectedLevel: LevelDefault,
|
||||
},
|
||||
{
|
||||
name: "none",
|
||||
in: "none",
|
||||
expectedFormat: FormatNone,
|
||||
expectedLevel: LevelDefault,
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Reference in New Issue
Block a user