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/95345
pull/24376/head
Carol (Nichols || Goulding) 2022-05-19 14:50:02 -04:00
parent 5fcf18cc02
commit 792c394cf2
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 1 additions and 1 deletions

View File

@ -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]