aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/iron.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/iron.rs b/testing/tests/iron.rs
index 51c7b8d..6f8868f 100644
--- a/testing/tests/iron.rs
+++ b/testing/tests/iron.rs
@@ -16,5 +16,5 @@ fn test_iron() {
let rsp = Response::with((status::Ok, HelloTemplate { name: "world" }));
let mut buf = Vec::new();
let _ = rsp.body.unwrap().write_body(&mut buf);
- assert_eq!(buf, "Hello, world!".as_bytes());
+ assert_eq!(buf, b"Hello, world!");
}