From 373d72b6986fb9e5c364a0f5ceec22693415773f Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 10 Apr 2020 17:45:24 -0400 Subject: Googletest export Fix link to "After clause". Sorry, reader, but this heading is in another document! PiperOrigin-RevId: 305947971 --- googlemock/docs/cook_book.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md index 51eb94a9..4dbfbe09 100644 --- a/googlemock/docs/cook_book.md +++ b/googlemock/docs/cook_book.md @@ -1712,8 +1712,8 @@ brittle tests. For example, we may care about `A` occurring before both `B` and the test should reflect our real intent, instead of being overly constraining. gMock allows you to impose an arbitrary DAG (directed acyclic graph) on the -calls. One way to express the DAG is to use the [After](#AfterClause) clause of -`EXPECT_CALL`. +calls. One way to express the DAG is to use the +[After](cheat_sheet.md#AfterClause) clause of `EXPECT_CALL`. Another way is via the `InSequence()` clause (not the same as the `InSequence` class), which we borrowed from jMock 2. It's less flexible than `After()`, but -- cgit v1.2.3