(
output: &mut String,
indent: usize,
transition: &MetadataTransitionDto,
)
| 150 | } |
| 151 | |
| 152 | fn write_metadata_transition( |
| 153 | output: &mut String, |
| 154 | indent: usize, |
| 155 | transition: &MetadataTransitionDto, |
| 156 | ) { |
| 157 | writeln!(output, "{}- target:", spaces(indent)).unwrap(); |
| 158 | write_metadata_target(output, indent + 4, &transition.target); |
| 159 | writeln!(output, "{} expected_old:", spaces(indent)).unwrap(); |
| 160 | write_metadata_value(output, indent + 4, &transition.expected_old); |
| 161 | writeln!(output, "{} expected_new:", spaces(indent)).unwrap(); |
| 162 | write_metadata_value(output, indent + 4, &transition.expected_new); |
| 163 | } |
| 164 | |
| 165 | fn write_metadata_target(output: &mut String, indent: usize, target: &MetadataTargetDto) { |
| 166 | match target { |
no test coverage detected