Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit c6ad9f7

Browse files
TCCinTaiwanWynnChen
authored andcommitted
Update assertions.rst
修正assertions.rst中6. assertContains()的描述
1 parent 2f7e0e5 commit c6ad9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assertions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ assertContains()
219219

220220
``assertContains(mixed $needle, Iterator|array $haystack[, string $message = ''])``
221221

222-
当 ``$needle`` 不是 ``$haystack``的元素时报告错误,错误讯息由 ``$message`` 指定。
222+
当 ``$needle`` 不是 ``$haystack`` 的元素时报告错误,错误讯息由 ``$message`` 指定。
223223

224224
``assertNotContains()`` 是与之相反的断言,接受相同的参数。
225225

0 commit comments

Comments
 (0)