mirror of
https://github.com/google/googletest.git
synced 2026-06-15 08:26:11 +08:00
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:
parent
157ee5a197
commit
52138d0373
@ -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 = "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user