From e0f8882e7ac4b3f3b41fed1ca8545475f3027873 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sun, 16 Apr 2023 09:49:07 +0800 Subject: [PATCH] test: update serde yaml test --- src/to-json/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/to-json/src/parser.rs b/src/to-json/src/parser.rs index 1adc7c3..7cd27d7 100644 --- a/src/to-json/src/parser.rs +++ b/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()); }