hooked/hooked-config/tests/snapshots/serialize__serialize.snap

21 lines
346 B
Plaintext
Raw Normal View History

---
2022-11-01 12:38:52 +00:00
source: hooked-config/tests/serialize.rs
expression: to_string_pretty(&config).unwrap()
---
[general]
2022-11-01 12:38:52 +00:00
config = 'Hooked.toml'
directory = 'hooks'
[[pre_commit]]
2022-11-20 11:20:59 +00:00
git_staged = ['*.txt']
name = 'Command Test'
on_failure = 'continue'
command = 'exit 0'
[[pre_commit]]
2022-11-20 11:20:59 +00:00
git_staged = []
name = 'Script Test'
on_failure = 'stop'
script = 'test.sh'