aboutsummaryrefslogtreecommitdiff
path: root/tests/test_take.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_take.rs')
-rw-r--r--tests/test_take.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_take.rs b/tests/test_take.rs
index 40a1fa5..a23a29e 100644
--- a/tests/test_take.rs
+++ b/tests/test_take.rs
@@ -8,5 +8,5 @@ fn long_take() {
// overrun the buffer. Regression test for #138.
let buf = b"hello world".take(100);
assert_eq!(11, buf.remaining());
- assert_eq!(b"hello world", buf.bytes());
+ assert_eq!(b"hello world", buf.chunk());
}