---
- name: Need document footer before directives
  from: '@ingydotnet'
  tags: directive error footer tag unknown-tag
  fail: true
  yaml: |
    !foo "bar"
    %TAG ! tag:example.com,2000:app/
    ---
    !foo "bar"
  tree: |
    +STR
     +DOC
      =VAL <!foo> "bar