[SERVER-78255] [CQF] Print diff from ASSERT_AUTO_* macros in color Created: 20/Jun/23  Updated: 22/Jun/23

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ben Shteinfeld Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

If the ASSERT_AUTO_* macros printed their diff using colors, it would make parsing the diff in the terminal much easier. Mainly, lines with "+" could be printed in green and lines with "-" could be printed in red.

We should be able to achieve this using ANSI escape codes to control the color.


Generated at Thu Feb 08 06:37:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.