From c47f5b06ba2a2a6e66ba6fc712d40cccdaed1532 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Fri, 23 Feb 2024 17:28:33 +0100 Subject: [PATCH] feat(libreoffice): add macOS *.pages support --- pkg/modules/libreoffice/api/api.go | 1 + pkg/modules/libreoffice/api/api_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/modules/libreoffice/api/api.go b/pkg/modules/libreoffice/api/api.go index 6b0496ea..6f66b1d7 100644 --- a/pkg/modules/libreoffice/api/api.go +++ b/pkg/modules/libreoffice/api/api.go @@ -315,6 +315,7 @@ func (a *Api) Extensions() []string { ".xpm", ".odp", ".fodp", + ".pages", ".potm", ".pot", ".pptx", diff --git a/pkg/modules/libreoffice/api/api_test.go b/pkg/modules/libreoffice/api/api_test.go index 8a63ab02..169535fb 100644 --- a/pkg/modules/libreoffice/api/api_test.go +++ b/pkg/modules/libreoffice/api/api_test.go @@ -450,7 +450,7 @@ func TestApi_Extensions(t *testing.T) { extensions := a.Extensions() actual := len(extensions) - expect := 79 + expect := 80 if actual != expect { t.Errorf("expected %d extensions, but got %d", expect, actual)