mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
In the nightly CI run this test failed. Adjust it to be on the safe side. (#3638)
This commit is contained in:
parent
ca5a2b291a
commit
3b82a6ff99
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
result2: "{{ query('community.general.random_words', min_length=5, max_length=5) }}"
|
||||
result3: "{{ query('community.general.random_words', delimiter='!') }}"
|
||||
result4: "{{ query('community.general.random_words', numwords=3, delimiter='-', case='capitalize') }}"
|
||||
result5: "{{ query('community.general.random_words', numwords=3, delimiter='') }}"
|
||||
result5: "{{ query('community.general.random_words', min_length=5, max_length=5, numwords=3, delimiter='') }}"
|
||||
|
||||
- name: Check results
|
||||
assert:
|
||||
|
@ -25,4 +25,4 @@
|
|||
- result4[0] | regex_findall("[A-Z]") | length == 3
|
||||
- result4[0].count("-") == 2
|
||||
- result5 | length == 1
|
||||
- result5[0] | length >= 18
|
||||
- result5[0] | length == 15
|
||||
|
|
Loading…
Reference in a new issue