From 55fc58d7e6e42cdfc803aa080222df45ad888ccf Mon Sep 17 00:00:00 2001 From: Sho Iizuka Date: Wed, 16 Nov 2022 21:46:17 +0900 Subject: [PATCH] Fix typo in docs/index.md (#1082) --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 091b4ea6a..7f07f3c21 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4034,7 +4034,7 @@ Describe("Publishing books", func() { Expect(result.EpubContent).To(ContainSubstring("I've ransomed you from fear and hatred, and now I give you back to God.")) //we expect the publisher to close the channel when it's done - Eventually(ctx, c).WithTimeout(time.Second.Should(BeClosed()) + Eventually(ctx, c).WithTimeout(time.Second).Should(BeClosed()) }, SpecTimeout(time.Second*30)) //this spec has 30 seconds to complete }) ```