| 85 | } |
| 86 | |
| 87 | void DoDiffAndFormat(std::stringstream* out) { |
| 88 | DoDiff(); |
| 89 | auto formatter = MakeUnifiedDiffFormatter(*base_->type(), out); |
| 90 | ASSERT_OK(formatter); |
| 91 | ASSERT_OK(formatter.ValueOrDie()(*edits_, *base_, *target_)); |
| 92 | } |
| 93 | |
| 94 | // validate diff and assert that it formats as expected, both directly |
| 95 | // and through Array::Equals |
no test coverage detected