Browse Source

test: update serde yaml test

dev
Dnomd343 2 years ago
parent
commit
e0f8882e7a
  1. 2
      src/to-json/src/parser.rs

2
src/to-json/src/parser.rs

@ -66,7 +66,7 @@ mod tests {
#[test]
fn yaml() {
assert!(yaml_parser("").is_none()); // parse invalid text
assert!(yaml_parser("&").is_none()); // parse invalid text
assert!(yaml_parser(YAML_STR).is_some());
}

Loading…
Cancel
Save