Skip to content

Commit

Permalink
fix: replace blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
bconn98 committed Dec 6, 2023
1 parent 6c28de5 commit 42d6526
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ mod test {
#[test]
#[cfg(all(feature = "yaml_format", feature = "threshold_filter"))]
fn full_deserialize() {
// Require a disabled block here due to the filters config format.
// editorconfig-checker-disable
let cfg = r#"
refresh_rate: 60 seconds
Expand Down Expand Up @@ -489,6 +491,7 @@ loggers:
- baz
additive: false
"#;
// editorconfig-checker-enable
let config = ::serde_yaml::from_str::<RawConfig>(cfg).unwrap();
let errors = config.appenders_lossy(&Deserializers::new()).1;
println!("{:?}", errors);
Expand Down

0 comments on commit 42d6526

Please sign in to comment.