Skip to content

Commit

Permalink
chore: add test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Dec 3, 2022
1 parent 3ada8d9 commit b896db9
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

a_funky<-:
full:
type: str
description: A description
default: a-default
compact: a-default

exec:
foo: bar
do->: var "{{full}}"

args:
- full

return: do

#b_funky<-:
# full:
# type: str
# description: A description
# default: a-default
# compact: a-default
#
# exec:
# foo: bar
# do->: var "{{full}}"
#
# args:
# - full
#
# return: do

11 changes: 11 additions & 0 deletions tests/parser/functions/fixtures/func-provider-hook/tackle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

<-:
stuff: things

jinja_extension_default->: var {{a_funky()}}
jinja_extension->: var {{a_funky(stuff)}}
compact->: a_funky
compact_arg->: a_funky stuff
#jinja_filter->: var {{stuff|a_funky}}

calling_dir->: "{{calling_directory}}"

0 comments on commit b896db9

Please sign in to comment.