add unexpected argument
This commit is contained in:
1 parent
f17fdd2d74
commit
831acd3516
13 files changed
+45088
-43413
No files matched your search
@@ -66,34 +66,50 @@ Csp Nonce Attr Takes One Argument
|
||||
|
||||
==================
|
||||
Csp Nonce Attr Rejects Unknown Keyword
|
||||
:error
|
||||
==================
|
||||
|
||||
{% csp_nonce_attr other="b" %}
|
||||
|
||||
---
|
||||
|
||||
(ERROR)
|
||||
|
||||
(template
|
||||
(content)
|
||||
(csp_nonce_attr_tag
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Csp Nonce Attr Rejects Repeated Keyword
|
||||
:error
|
||||
==================
|
||||
|
||||
{% csp_nonce_attr media=1 media=2 %}
|
||||
|
||||
---
|
||||
|
||||
(ERROR)
|
||||
|
||||
(template
|
||||
(content)
|
||||
(csp_nonce_attr_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Csp Nonce Attr With Media Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% csp_nonce_attr media="a" media="b" %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(csp_nonce_attr_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
+11
-1
@@ -294,13 +294,23 @@ A Name Reserved For A Tag Is Still An Argument
|
||||
|
||||
==================
|
||||
Custom Tag With A Keyword Argument Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% mytag a=1 a=2 %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(custom_tag
|
||||
(identifier)
|
||||
(identifier)
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Custom Tag With Keyword Arguments And As
|
||||
|
||||
+18
-2
@@ -180,13 +180,21 @@ Trans Without A Message
|
||||
|
||||
==================
|
||||
Trans With An Option Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% trans "hi" noop noop %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(translate_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Trans With As Twice
|
||||
@@ -200,13 +208,21 @@ Trans With As Twice
|
||||
|
||||
==================
|
||||
Trans With An Unknown Option
|
||||
:error
|
||||
==================
|
||||
|
||||
{% trans "hi" bogus %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(translate_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Trans With Context And No Value
|
||||
|
||||
+46
-4
@@ -163,13 +163,26 @@ Include With Only Before With
|
||||
|
||||
==================
|
||||
Include With A Binding Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% include "t.html" with a=1 a=2 %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(include_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(identifier)
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Include Without A Name
|
||||
@@ -193,33 +206,62 @@ Include With Nothing To Bind
|
||||
|
||||
==================
|
||||
Include With With Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% include "t.html" with a=1 with b=2 %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(include_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(identifier)
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Include With Only Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% include "t.html" only only %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(include_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Include With An Unknown Option
|
||||
:error
|
||||
==================
|
||||
|
||||
{% include "t.html" bogus %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(include_tag
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(string))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Include With A Legacy Binding
|
||||
|
||||
+10
-1
@@ -95,13 +95,22 @@ Localize Nested
|
||||
|
||||
==================
|
||||
Localize With Another Argument
|
||||
:error
|
||||
==================
|
||||
|
||||
{% localize maybe %}x{% endlocalize %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(localize_group
|
||||
(localize_block
|
||||
(localize_tag
|
||||
(unexpected_argument))
|
||||
(template
|
||||
(content)))
|
||||
(endlocalize_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Localize With Two Arguments
|
||||
|
||||
@@ -100,19 +100,43 @@ Querystring With Two Keys
|
||||
|
||||
==================
|
||||
Querystring With A Key Twice
|
||||
:error
|
||||
==================
|
||||
|
||||
{% querystring page=2 page=3 %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(querystring_tag
|
||||
(identifier)
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Querystring With A Key Repeated Later
|
||||
:error
|
||||
==================
|
||||
|
||||
{% querystring a=1 b=2 a=3 %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(querystring_tag
|
||||
(identifier)
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(identifier)
|
||||
(filtered_value
|
||||
(value
|
||||
(literal
|
||||
(number))))
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
@@ -159,13 +159,17 @@ Get Media Prefix With As
|
||||
|
||||
==================
|
||||
Get Static Prefix Without As
|
||||
:error
|
||||
==================
|
||||
|
||||
{% get_static_prefix prefix %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(get_static_prefix_tag
|
||||
(unexpected_argument))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Get Static Prefix Without A Variable
|
||||
|
||||
+10
-1
@@ -54,13 +54,22 @@ Localtime Off
|
||||
|
||||
==================
|
||||
Localtime With Another Argument
|
||||
:error
|
||||
==================
|
||||
|
||||
{% localtime maybe %}x{% endlocaltime %}
|
||||
|
||||
---
|
||||
|
||||
(template
|
||||
(content)
|
||||
(localtime_group
|
||||
(localtime_block
|
||||
(localtime_tag
|
||||
(unexpected_argument))
|
||||
(template
|
||||
(content)))
|
||||
(endlocaltime_tag))
|
||||
(content))
|
||||
|
||||
==================
|
||||
Localtime With Two Arguments
|
||||
|
||||
Reference in new issue
Block a user