Quote map property names.

This commit is contained in:
Stephen Chung
2020-11-30 22:02:32 +08:00
parent 4c4a209609
commit c5babac3da
2 changed files with 2 additions and 3 deletions

View File

@@ -73,6 +73,6 @@ fn test_print_custom_type() -> Result<(), Box<EvalAltResult>> {
x.to_string()
"#
)?
.contains("e: hello: 42"));
.contains(r#""e": hello: 42"#));
Ok(())
}