()
| 1036 | |
| 1037 | #[test] |
| 1038 | fn test_writer_end_conflict() { |
| 1039 | let buf: Vec<u8> = Vec::new(); |
| 1040 | let mut writer = Writer::new(buf); |
| 1041 | |
| 1042 | writer.end_conflict(1).unwrap(); |
| 1043 | |
| 1044 | let output = String::from_utf8(writer.into_inner()).unwrap(); |
| 1045 | assert!(output.contains(markers::END)); |
| 1046 | } |
| 1047 | |
| 1048 | #[test] |
| 1049 | fn test_writer_full_conflict_sequence() { |
nothing calls this directly
no test coverage detected