| 6 | namespace ApprovalTests |
| 7 | { |
| 8 | bool DocTestReporter::report(std::string received, std::string approved) const |
| 9 | { |
| 10 | auto receivedText = FileUtils::readFileThrowIfMissing(received); |
| 11 | auto approvedText = FileUtils::readFileThrowIfMissing(approved); |
| 12 | CHECK(receivedText == approvedText); |
| 13 | return true; |
| 14 | } |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected