From 06de43198fea28d265ee93530424252028f30181 Mon Sep 17 00:00:00 2001 From: Eugene Nosenko Date: Sun, 25 Feb 2024 09:19:27 +0100 Subject: [PATCH] fix docs --- docs/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 7552bf23b..19fcf4691 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3535,8 +3535,7 @@ you'll end up with multiple processes writing to the same file and the output wi #### Reporting Nodes - ReportBeforeSuite and ReportAfterSuite `ReportBeforeSuite` and `ReportAfterSuite` nodes behave similarly to `BeforeSuite` and `AfterSuite` and can be placed at the top-level of your suite (typically in the suite bootstrap file). -`ReportBeforeSuite` node take a closure that accepts a single [`Report`]((https://pkg.go.dev/github.com/onsi/ginkgo/v2/types#Report)) argument, `ReportAfterSuite` can accept either -closer that accepts `Report` or, both `SpecContext` and `Report` converting the node to an interruptible node. +`ReportBeforeSuite` node take a closure that accepts either [`Report`]((https://pkg.go.dev/github.com/onsi/ginkgo/v2/types#Report)) or, both `SpecContext` and `Report` converting the node to an interruptible node. ```go var _ = ReportBeforeSuite(func(report Report) {