mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
[pitboss] sweep after phase 28: 2 deferred items resolved
This commit is contained in:
parent
9b09aab736
commit
760bc1beb2
1 changed files with 11 additions and 0 deletions
|
|
@ -1707,6 +1707,17 @@ fn runs_config_defaults() {
|
|||
assert!(cfg.save_code_snippets);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn output_config_preserves_chain_constituents_by_default() {
|
||||
// Phase 25 deferred decision (b): the default keeps every constituent
|
||||
// finding in the `findings: [...]` array so existing pipelines see no
|
||||
// behavioural change. Flipping this to `false` is a deliberate breaking
|
||||
// change and must be done explicitly, not silently. Guarding both the
|
||||
// `Default` impl and the serde-default getter so neither drifts alone.
|
||||
assert!(OutputConfig::default().show_chain_constituents);
|
||||
assert!(default_show_chain_constituents());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn server_config_toml_roundtrip() {
|
||||
let toml_str = r#"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue