control experiment for correct configs

This commit is contained in:
Keagan McClelland
2022-06-06 18:18:24 -06:00
parent 80a06272cc
commit 45265453cb
2 changed files with 556 additions and 0 deletions

View File

@@ -2163,3 +2163,13 @@ fn missing_pattern_produces_error() {
.is_err()
)
}
#[test]
fn regex_control() {
assert!(
serde_yaml::from_reader::<_, ConfigSpec>(std::io::Cursor::new(include_bytes!(
"../../test/config-spec/lnd-correct.yaml"
)))
.is_ok()
)
}