Skip to content

Commit

Permalink
Googletest export
Browse files Browse the repository at this point in the history
Fix broken link

PiperOrigin-RevId: 375995669
  • Loading branch information
Abseil Team authored and Andy Soffer committed Jun 2, 2021
1 parent d5d6ff9 commit 2bd3481
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/primer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
`<<` operator or a sequence of such operators. See the following example, using
the
[`ASSERT_EQ` and `EXPECT_EQ`](reference/assertions.md?cl=374325853#EXPECT_EQ)
macros to verify value equality:
the [`ASSERT_EQ` and `EXPECT_EQ`](reference/assertions.md#EXPECT_EQ) macros to
verify value equality:

```c++
ASSERT_EQ(x.size(), y.size()) << "Vectors x and y are of unequal length";
Expand Down

0 comments on commit 2bd3481

Please sign in to comment.