feat(libreoffice): add macOS *.pages support

This commit is contained in:
Julien Neuhart
2024-02-23 17:28:33 +01:00
parent 63055e3df2
commit c47f5b06ba
2 changed files with 2 additions and 1 deletions

View File

@@ -315,6 +315,7 @@ func (a *Api) Extensions() []string {
".xpm", ".xpm",
".odp", ".odp",
".fodp", ".fodp",
".pages",
".potm", ".potm",
".pot", ".pot",
".pptx", ".pptx",

View File

@@ -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)