mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-31 15:00:29 +00:00
chore: mv example to dir
This commit is contained in:
parent
3285d30374
commit
70e99fbc8f
5 changed files with 4 additions and 4 deletions
|
@ -484,10 +484,10 @@ var hooksLoadFromFileTests = []struct {
|
|||
asTemplate bool
|
||||
ok bool
|
||||
}{
|
||||
{"../../hooks.json.example", false, true},
|
||||
{"../../hooks.yaml.example", false, true},
|
||||
{"../../hooks.json.tmpl.example", true, true},
|
||||
{"../../hooks.yaml.tmpl.example", true, true},
|
||||
{"../../example/hooks.json", false, true},
|
||||
{"../../example/hooks.yaml", false, true},
|
||||
{"../../example/hooks.json.tmpl", true, true},
|
||||
{"../../example/hooks.yaml.tmpl", true, true},
|
||||
{"", false, true},
|
||||
// failures
|
||||
{"missing.json", false, false},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue