diff --git a/tests/ill_data.rs b/tests/ill_data.rs index a840da3..d8d725e 100644 --- a/tests/ill_data.rs +++ b/tests/ill_data.rs @@ -5,7 +5,7 @@ struct IllData(&'static [u8]); impl WriteInto for IllData { fn try_write_into(&self, s: &mut S) -> Result<()> { - s.write(self.0)?; + s.write_all(self.0)?; Ok(()) } }