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