add unexpected argument error

This commit is contained in:
danhanson committed 2026-09-14 17:51:45 -05:00
1 parent 5f66027dcf
commit f17fdd2d74
19 files changed
+48376 -31372

No files matched your search

+11 -2
View File
@@ -48,14 +48,21 @@ Csp Nonce Attr With Media Keyword
==================
Csp Nonce Attr Takes One Argument
:error
==================
{% csp_nonce_attr "a" "b" %}
---
(ERROR)
(template
(content)
(csp_nonce_attr_tag
(filtered_value
(value
(literal
(string))))
(unexpected_argument))
(content))
==================
Csp Nonce Attr Rejects Unknown Keyword
@@ -68,6 +75,7 @@ Csp Nonce Attr Rejects Unknown Keyword
(ERROR)
==================
Csp Nonce Attr Rejects Repeated Keyword
:error
@@ -88,3 +96,4 @@ Csp Nonce Attr With Media Twice
{% csp_nonce_attr media="a" media="b" %}
---