aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/securitypolicies_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/securitypolicies_test.go')
-rw-r--r--hugolib/securitypolicies_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/hugolib/securitypolicies_test.go b/hugolib/securitypolicies_test.go
index 5b9267b59..60ef9a7e2 100644
--- a/hugolib/securitypolicies_test.go
+++ b/hugolib/securitypolicies_test.go
@@ -42,7 +42,6 @@ func TestSecurityPolicies(t *testing.T) {
} else {
b.Build(BuildCfg{})
}
-
}
httpTestVariant := func(c *qt.C, templ, expectErr string, withBuilder func(b *sitesBuilder)) {
@@ -145,7 +144,7 @@ allow="none"
`)
b.WithTemplatesAdded("index.html", `{{ $scss := "body { color: #333; }" | resources.FromString "foo.scss" | resources.ToCSS (dict "transpiler" "dartsass") }}`)
}
- testVariant(c, cb, `(?s).*"dart-sass-embedded" is not whitelisted in policy "security\.exec\.allow".*`)
+ testVariant(c, cb, `(?s).*sass(-embedded)?" is not whitelisted in policy "security\.exec\.allow".*`)
})
c.Run("resources.GetRemote, OK", func(c *qt.C) {