ci: fix unit tests for routing (#4743)

This commit is contained in:
Shanks
2024-05-23 14:44:29 +05:30
committed by GitHub
parent c778af26dd
commit ee276ec2d5
2 changed files with 26 additions and 14 deletions

View File

@ -809,6 +809,10 @@ mod test {
let mut key_names: FxHashMap<DirKeyKind, String> = FxHashMap::default();
for key in DirKeyKind::iter() {
if matches!(key, DirKeyKind::Connector) {
continue;
}
let json_str = if let DirKeyKind::MetaData = key {
r#""metadata""#.to_string()
} else {