diff --git a/src/parser/parser.rs b/src/parser/parser.rs index 5121aa9..49ffe64 100644 --- a/src/parser/parser.rs +++ b/src/parser/parser.rs @@ -614,10 +614,10 @@ mod tests { } #[test] - fn test_temp_string() { + fn test_quoted_string() { assert_eq!( - quoted_string(r#""foo\"bar""#), - Ok(("", r#"foo"bar"#.to_owned())) + quoted_string(r#""foo\"bar\\baz""#), + Ok(("", r#"foo"bar\baz"#.to_owned())) ); } }