summaryrefslogtreecommitdiffstats
path: root/hugolib/securitypolicies_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/securitypolicies_test.go')
-rw-r--r--hugolib/securitypolicies_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/hugolib/securitypolicies_test.go b/hugolib/securitypolicies_test.go
index 60ef9a7e2..b0d39c697 100644
--- a/hugolib/securitypolicies_test.go
+++ b/hugolib/securitypolicies_test.go
@@ -101,9 +101,7 @@ func TestSecurityPolicies(t *testing.T) {
testVariant(c, cb, `(?s).*python(\.exe)?" is not whitelisted in policy "security\.exec\.allow".*`)
} else {
testVariant(c, cb, `(?s).*"rst2html(\.py)?" is not whitelisted in policy "security\.exec\.allow".*`)
-
}
-
})
c.Run("Pandoc, denied", func(c *qt.C) {
@@ -116,7 +114,7 @@ func TestSecurityPolicies(t *testing.T) {
b.WithContent("page.pdc", "foo")
}
- testVariant(c, cb, `"(?s).*pandoc" is not whitelisted in policy "security\.exec\.allow".*`)
+ testVariant(c, cb, `(?s).*pandoc" is not whitelisted in policy "security\.exec\.allow".*`)
})
c.Run("Dart SASS, OK", func(c *qt.C) {
@@ -219,5 +217,4 @@ urls="none"
`)
})
})
-
}