remove group constrainte, it's now a normal group
This commit is contained in:
35
tests/dictionaries_old/60extra_group/tmpl/mailname
Normal file
35
tests/dictionaries_old/60extra_group/tmpl/mailname
Normal file
@ -0,0 +1,35 @@
|
||||
%if 'test' in %%extra.ejabberd.description
|
||||
contain test
|
||||
%end if
|
||||
%%len(%%extra.ejabberd.description)
|
||||
%if 'a' in %%extra.ejabberd.description
|
||||
contain a
|
||||
%end if
|
||||
%for %%description in %%extra.ejabberd.description
|
||||
leader: %%description
|
||||
follower: %%description.mode
|
||||
%if %%description <= %%description.mode
|
||||
infeq
|
||||
%end if
|
||||
%if %%description >= %%description.mode
|
||||
supeq
|
||||
%end if
|
||||
%if %%description < %%description.mode
|
||||
inf
|
||||
%end if
|
||||
%if %%description > %%description.mode
|
||||
sup
|
||||
%end if
|
||||
%if %%description == %%description.mode
|
||||
eq
|
||||
%end if
|
||||
%if %%description != %%description.mode
|
||||
diff
|
||||
%end if
|
||||
%set %%var = %%description + %%description.mode
|
||||
%%var
|
||||
%set %%var = %%description.mode + %%description
|
||||
%%var
|
||||
%end for
|
||||
leader2: %%extra.ejabberd.description[0]
|
||||
follower2: %%extra.ejabberd.description[0].mode
|
33
tests/dictionaries_old/60extra_group/tmpl/mailname2
Normal file
33
tests/dictionaries_old/60extra_group/tmpl/mailname2
Normal file
@ -0,0 +1,33 @@
|
||||
{% if 'test' in extra.ejabberd.description -%}
|
||||
contain test
|
||||
{% endif -%}
|
||||
{{ extra.ejabberd.description|length }}
|
||||
{% if 'a' in extra.ejabberd.description -%}
|
||||
contain a
|
||||
{% endif -%}
|
||||
{% for description in extra.ejabberd.description -%}
|
||||
leader: {{ description }}
|
||||
follower: {{ description.mode }}
|
||||
{% if description <= description.mode -%}
|
||||
infeq
|
||||
{% endif -%}
|
||||
{% if description >= description.mode -%}
|
||||
supeq
|
||||
{% endif -%}
|
||||
{% if description < description.mode -%}
|
||||
inf
|
||||
{% endif -%}
|
||||
{% if description > description.mode -%}
|
||||
sup
|
||||
{% endif -%}
|
||||
{% if description == description.mode -%}
|
||||
eq
|
||||
{% endif -%}
|
||||
{% if description != description.mode -%}
|
||||
diff
|
||||
{% endif -%}
|
||||
{{ description + description.mode }}
|
||||
{{ description.mode + description }}
|
||||
{% endfor -%}
|
||||
leader2: {{ extra.ejabberd.description[0] }}
|
||||
follower2: {{ extra.ejabberd.description[0].mode }}
|
Reference in New Issue
Block a user