aboutsummaryrefslogtreecommitdiff
path: root/tests/test_bytes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_bytes.rs')
-rw-r--r--tests/test_bytes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_bytes.rs b/tests/test_bytes.rs
index 2e163df..5c2c91d 100644
--- a/tests/test_bytes.rs
+++ b/tests/test_bytes.rs
@@ -43,7 +43,7 @@ fn from_slice() {
#[test]
fn fmt() {
let a = format!("{:?}", Bytes::from(&b"abcdefg"[..]));
- let b = format!("{:?}", b"abcdefg");
+ let b = "b\"abcdefg\"";
assert_eq!(a, b);