Skip to content

Commit

Permalink
random_words integration tests: avoid test failure due to valid result (
Browse files Browse the repository at this point in the history
#9271)

Avoid test failure due to valid result.
  • Loading branch information
felixfontein authored Dec 17, 2024
1 parent 65827bd commit 50b25f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/targets/lookup_random_words/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- result4[0] | length >= 17
- result4[0] | length <= 29
- result4[0] | regex_findall("[A-Z]") | length == 3
- result4[0].count("-") == 2
# If one of the random words is 't-shirt', there are more than 2 dashes...
- result4[0].count("-") == 2 or "t-shirt" in result4[0].lower()
- result5 | length == 1
- result5[0] | length == 15

0 comments on commit 50b25f8

Please sign in to comment.