Fix no_object build.

This commit is contained in:
Stephen Chung
2022-05-23 22:58:15 +08:00
parent 6120b7a01a
commit e4d492c727
2 changed files with 2 additions and 0 deletions

View File

@@ -817,6 +817,7 @@ fn test_serde_blob() -> Result<(), Box<EvalAltResult>> {
}
#[test]
#[cfg(not(feature = "no_object"))]
fn test_serde_json_borrowed_string() {
let value = json!({ "a": "b" });
println!("value: {:?}", value);