fix: add more supported file extensions for unovonv (#340)

* Add supported file extensions for unovonv

* Fix expected file extensions length

Co-authored-by: Jana Storch <jana.storch@dpdhl.com>
This commit is contained in:
remoteexception
2021-09-09 20:07:45 +02:00
committed by GitHub
parent 9529905875
commit 9d27dfb41c
2 changed files with 4 additions and 1 deletions

View File

@@ -229,6 +229,7 @@ func (mod Unoconv) Extensions() []string {
".fodg",
".gif",
".jpg",
".jpeg",
".met",
".odd",
".otg",
@@ -243,9 +244,11 @@ func (mod Unoconv) Extensions() []string {
".swf",
".sxd",
".sxw",
".tif",
".tiff",
".xhtml",
".xpm",
".odp",
".fodp",
".potm",
".pot",

View File

@@ -146,7 +146,7 @@ func TestUnoconv_Extensions(t *testing.T) {
extensions := mod.Extensions()
actual := len(extensions)
expect := 73
expect := 76
if actual != expect {
t.Errorf("expected %d extensions but got %d", expect, actual)