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

24 lines
406 B
Plaintext

---
source: hooked-config/tests/serialize.rs
expression: to_string_pretty(&config).unwrap()
---
[general]
config = 'Hooked.toml'
directory = 'hooks'
noise_level = 'standard'
[[pre_commit]]
name = 'Command Test'
noise_level = 'quiet'
on_failure = 'continue'
staged = ['*.txt']
command = 'exit 0'
[[pre_commit]]
name = 'Script Test'
noise_level = 'loud'
on_failure = 'stop'
staged = []
script = 'test.sh'