in azure-kusto-data/src/connection_string.rs [1094:1107]
fn it_returns_expected_errors() {
assert!(matches!(
ConnectionString::from_raw_connection_string("Data Source="),
Err(ConnectionStringError::MissingValue { key }) if key == "Data Source"
));
assert!(matches!(
ConnectionString::from_raw_connection_string("="),
Err(ConnectionStringError::Parsing { msg: _ })
));
assert!(matches!(
ConnectionString::from_raw_connection_string("x=123;"),
Err(ConnectionStringError::UnexpectedKey { key }) if key == "x"
));
}