[SERVER-52682] ASSERT_BSONOBJ_EQ doesn't return ostream& for annotation Created: 07/Nov/20  Updated: 26/Jan/23

Status: Backlog
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Service Arch
Participants:
Story Points: 3

 Description   

All the other macros, in unittest.h, can be annotated with <<.

e.g.
ASSERT_EQ(x,y) << "x and y should be equal because...";

But the ASSERT_BSONOBJ_EQ etc return void and break this convention.



 Comments   
Comment by Lauren Lewis (Inactive) [ 24/Feb/22 ]

We haven’t heard back from you for at least one calendar year, so this issue is being closed. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Comment by Billy Donahue [ 12/Feb/21 ]

This wasn't super-important but it would be even less-so after ASSERT_THAT handles more BSONObj tests.

PM-2118

Generated at Thu Feb 08 05:28:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.