1
0
Fork 0
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:
Felix Fontein 2021-10-30 10:58:01 +02:00 committed by GitHub
parent ca5a2b291a
commit 3b82a6ff99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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