Skip to content

Commit 5bcddd6

Browse files
committed
doc: fix doc error.
1 parent 3e7413d commit 5bcddd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builtin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func NotContainsString(t *testing.T, str, substr string, message ...any) error {
4646
}
4747

4848
// NotContainsStringNow tests whether the string contains the substring or not, and it will terminate the
49-
// execution if the string does not contains the substring.
49+
// execution if the string contains the substring.
5050
//
5151
// NotContainsStringNow(t, "Hello world", "hello") // success
5252
// NotContainsStringNow(t, "Hello world", "Hello") // fail and stop the execution

string.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (a *Assertion) NotContainsString(str, substr string, message ...any) error
4848
}
4949

5050
// NotContainsStringNow tests whether the string contains the substring or not, and it will terminate the
51-
// execution if the string does not contains the substring.
51+
// execution if the string contains the substring.
5252
//
5353
// assertion.NotContainsStringNow("Hello world", "hello") // success
5454
// assertion.NotContainsStringNow("Hello world", "Hello") // fail and stop the execution

0 commit comments

Comments
 (0)