From beea7276191eede26d9cd14df7ab50f0a5c9f25f Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Mon, 26 Aug 2019 01:16:03 +0300 Subject: [PATCH] minor fix in the documentation of ExpectWithOffset (#358) Thank you @ahadas! --- gomega_dsl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gomega_dsl.go b/gomega_dsl.go index 4085cd971..754f322a2 100644 --- a/gomega_dsl.go +++ b/gomega_dsl.go @@ -155,7 +155,7 @@ func Expect(actual interface{}, extra ...interface{}) Assertion { // ExpectWithOffset(1, "foo").To(Equal("foo")) // // Unlike `Expect` and `Ω`, `ExpectWithOffset` takes an additional integer argument -// this is used to modify the call-stack offset when computing line numbers. +// that is used to modify the call-stack offset when computing line numbers. // // This is most useful in helper functions that make assertions. If you want Gomega's // error message to refer to the calling line in the test (as opposed to the line in the helper function)