mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 12:42:16 +01:00
feat(libreoffice): add macOS *.key support
This commit is contained in:
@@ -316,6 +316,7 @@ func (a *Api) Extensions() []string {
|
|||||||
".odp",
|
".odp",
|
||||||
".fodp",
|
".fodp",
|
||||||
".pages",
|
".pages",
|
||||||
|
".key",
|
||||||
".potm",
|
".potm",
|
||||||
".pot",
|
".pot",
|
||||||
".pptx",
|
".pptx",
|
||||||
|
|||||||
@@ -450,7 +450,7 @@ func TestApi_Extensions(t *testing.T) {
|
|||||||
extensions := a.Extensions()
|
extensions := a.Extensions()
|
||||||
|
|
||||||
actual := len(extensions)
|
actual := len(extensions)
|
||||||
expect := 80
|
expect := 81
|
||||||
|
|
||||||
if actual != expect {
|
if actual != expect {
|
||||||
t.Errorf("expected %d extensions, but got %d", expect, actual)
|
t.Errorf("expected %d extensions, but got %d", expect, actual)
|
||||||
|
|||||||
Reference in New Issue
Block a user