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

23 lines
384 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]
2024-01-18 13:21:43 +00:00
config = "Hooked.toml"
directory = "hooks"
noise_level = "standard"
[[pre_commit]]
2024-01-18 13:21:43 +00:00
name = "Command Test"
on_failure = "continue"
staged = ["*.txt"]
command = "exit 0"
[[pre_commit]]
2024-01-18 13:21:43 +00:00
name = "Script Test"
noise_level = "loud"
on_failure = "stop"
2022-11-27 16:29:44 +00:00
staged = []
2024-01-18 13:21:43 +00:00
script = "test.sh"