mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 12:22:17 +01:00
feat(libreoffice): add macOS *.pages support
This commit is contained in:
@@ -315,6 +315,7 @@ func (a *Api) Extensions() []string {
|
|||||||
".xpm",
|
".xpm",
|
||||||
".odp",
|
".odp",
|
||||||
".fodp",
|
".fodp",
|
||||||
|
".pages",
|
||||||
".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 := 79
|
expect := 80
|
||||||
|
|
||||||
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