mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
control experiment for correct configs
This commit is contained in:
@@ -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()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user