()
| 1014 | |
| 1015 | #[test] |
| 1016 | fn test_writer_begin_conflict() { |
| 1017 | let buf: Vec<u8> = Vec::new(); |
| 1018 | let mut writer = Writer::new(buf); |
| 1019 | |
| 1020 | writer.begin_conflict(1, None).unwrap(); |
| 1021 | |
| 1022 | let output = String::from_utf8(writer.into_inner()).unwrap(); |
| 1023 | assert!(output.contains(markers::START)); |
| 1024 | } |
| 1025 | |
| 1026 | #[test] |
| 1027 | fn test_writer_conflict_next() { |
nothing calls this directly
no test coverage detected