fix: Update expected value to new debug formatting
Debug formatting is always considered unstable. This changed in Rust 1.61. References: - https://github.com/rust-lang/rust/issues/95732 - https://github.com/rust-lang/rust/pull/95345pull/24376/head
parent
5fcf18cc02
commit
792c394cf2
|
@ -392,7 +392,7 @@ mod test {
|
|||
fn quote_not_printable() {
|
||||
assert_eq!(quote_and_escape("foo\nbar"), r#""foo\nbar""#);
|
||||
assert_eq!(quote_and_escape("foo\r\nbar"), r#""foo\r\nbar""#);
|
||||
assert_eq!(quote_and_escape("foo\0bar"), r#""foo\u{0}bar""#);
|
||||
assert_eq!(quote_and_escape("foo\0bar"), r#""foo\0bar""#);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in New Issue