()
| 254 | use serde_json::json; |
| 255 | |
| 256 | fn fm() -> Map<String, Value> { |
| 257 | json!({ |
| 258 | "uid": "01J8ZC4R8T", |
| 259 | "memoryKind": "constraint", |
| 260 | "status": "active", |
| 261 | "about": ["urn:atomic:module:storage", "urn:atomic:module:replication"] |
| 262 | }) |
| 263 | .as_object() |
| 264 | .unwrap() |
| 265 | .clone() |
| 266 | } |
| 267 | |
| 268 | #[test] |
| 269 | fn lift_memory_from_frontmatter_and_body() { |