1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-17 05:05:14 +03:00
aports/community/hugo/skip-dartsass-test.patch
mio 6f18e64ab6 community/hugo: upgrade to 0.147.2
https://github.com/gohugoio/hugo/releases/tag/v0.147.2
https://github.com/gohugoio/hugo/releases

Fix `TestVimeoShortcode` test, skip `TestSilenceDependencyDeprecations` test.

```
--- FAIL: TestVimeoShortcode (0.35s)
    shortcodes_integration_test.go:486:
        error:
          no substring match found

[...]

        stack:
          github.com/gohugoio/hugo/hugolib/integrationtest_builder.go:323
            <cannot parse source file: open github.com/gohugoio/hugo/hugolib/integrationtest_builder.go: no such file or directory>
          github.com/gohugoio/hugo/tpl/tplimpl/shortcodes_integration_test.go:486
            <cannot parse source file: open github.com/gohugoio/hugo/tpl/tplimpl/shortcodes_integration_test.go: no such file or directory>

FAIL
FAIL	github.com/gohugoio/hugo/tpl/tplimpl	2.804s
```
2025-05-12 08:05:49 +00:00

14 lines
584 B
Diff

Reason: Skip broken test
Upstream: No
diff -ruN a/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go b/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go
--- a/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go 2025-05-06 11:18:55.000000000 +0000
+++ b/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go 2025-05-12 03:46:08.060467656 +0000
@@ -644,6 +644,7 @@
}
func TestSilenceDependencyDeprecations(t *testing.T) {
+ t.Skip("Fails on all arches")
t.Parallel()
files := `