Googletest export
Fix broken link PiperOrigin-RevId: 375995669
This commit is contained in:
parent
d5d6ff940b
commit
2bd3481666
@ -119,9 +119,8 @@ this in mind if you get a heap checker error in addition to assertion errors.
|
|||||||
|
|
||||||
To provide a custom failure message, simply stream it into the macro using the
|
To provide a custom failure message, simply stream it into the macro using the
|
||||||
`<<` operator or a sequence of such operators. See the following example, using
|
`<<` operator or a sequence of such operators. See the following example, using
|
||||||
the
|
the [`ASSERT_EQ` and `EXPECT_EQ`](reference/assertions.md#EXPECT_EQ) macros to
|
||||||
[`ASSERT_EQ` and `EXPECT_EQ`](reference/assertions.md?cl=374325853#EXPECT_EQ)
|
verify value equality:
|
||||||
macros to verify value equality:
|
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
ASSERT_EQ(x.size(), y.size()) << "Vectors x and y are of unequal length";
|
ASSERT_EQ(x.size(), y.size()) << "Vectors x and y are of unequal length";
|
||||||
|
Loading…
Reference in New Issue
Block a user