Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2023-06-01 14:28:52 -04:00
parent e4c2713dc6
commit b23e085efb

View File

@@ -934,10 +934,7 @@ mod tests {
#[test]
fn test_parse_json_field() {
let config = vec![(
"eviction_policy",
"eviction_policy:{\"kind\": \"NoEviction\"}",
)];
let config = vec![("eviction_policy", "{\"kind\": \"NoEviction\"}")];
TenantConfig::deserialize_from_settings(config.into_iter().collect()).unwrap();
}