chore: mv example to dir

This commit is contained in:
soulteary 2023-01-09 23:02:31 +08:00
parent 3285d30374
commit 70e99fbc8f
No known key found for this signature in database
GPG key ID: 8107DBA6BC84D986
5 changed files with 4 additions and 4 deletions

View file

@ -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},