Skip to content

Commit

Permalink
Fix old rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Oct 26, 2024
1 parent d81386d commit 3eb0278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minijinja/tests/test_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ fn test_bytes() {
assert_eq!(format!("{:?}", not_byte_value), "[1, 2, 3, 4]");

assert_eq!(
format!("{:?}", Value::from_bytes(b"'foo\"".into())),
format!("{:?}", Value::from_bytes((&b"'foo\""[..]).into())),
"b'\\'foo\"'"
);
}

0 comments on commit 3eb0278

Please sign in to comment.