never tags docs and test (#35964)

* fufilling the promise

* moved changes

* Copy edit
This commit is contained in:
Brian Coca 2018-02-14 17:01:36 -05:00 committed by GitHub
commit 0cf70a8970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 3 deletions

View file

@ -35,3 +35,7 @@ export LC_ALL=en_US.UTF-8
# Run a tag from a list of tags and always
[ "$("${COMMAND[@]}" --tags café | grep -F Task_with | xargs)" = \
"Task_with_always_tag TAGS: [always] Task_with_list_of_tags TAGS: [café, press]" ]
# Run tag with never
[ "$("${COMMAND[@]}" --tags donever | grep -F Task_with | xargs)" = \
"Task_with_always_tag TAGS: [always] Task_with_never_tag TAGS: [donever, never]" ]

View file

@ -20,3 +20,6 @@
- press
- name: Task_without_tag
debug: msg=
- name: Task_with_never_tag
debug: msg=NEVER
tags: ['never', 'donever']