Add clarifying comment for pairing order

Add a short comment documenting why unordered pairing diagnostics print in Actual/Expected order.
This commit is contained in:
siddh 2026-05-10 23:06:34 +05:30
parent 157ee5a197
commit 52138d0373

View File

@ -245,6 +245,7 @@ static void LogElementMatcherPairVec(const ElementMatcherPairs& pairs,
static void LogActualExpectedPairVec(const ElementMatcherPairs& pairs,
::std::ostream* stream) {
// Keep pairings in Actual/Expected order for quick visual diffing.
typedef ElementMatcherPairs::const_iterator Iter;
::std::ostream& os = *stream;
const char* sep = "";