()
| 1158 | |
| 1159 | #[test] |
| 1160 | fn test_writer_inner_mut() { |
| 1161 | let buf: Vec<u8> = Vec::new(); |
| 1162 | let mut writer = Writer::new(buf); |
| 1163 | |
| 1164 | writer.inner_mut().push(42); |
| 1165 | |
| 1166 | assert_eq!(writer.inner()[0], 42); |
| 1167 | } |
| 1168 | |
| 1169 | // ------------------------------------------------------------------------- |
| 1170 | // Marker Constants Tests |