From 67185f6dccdb40929da4cc3922007da4510009c2 Mon Sep 17 00:00:00 2001 From: kicaj Date: Sun, 13 Sep 2020 22:52:00 +0200 Subject: [PATCH] Update testing.rst --- en/development/testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/development/testing.rst b/en/development/testing.rst index c36ecfa839..79f3631ca0 100644 --- a/en/development/testing.rst +++ b/en/development/testing.rst @@ -208,7 +208,7 @@ our code creates the output we expect:: } The above test is a simple one but shows the potential benefit of using test -cases. We use ``assertContains()`` to ensure that our helper is returning a +cases. We use ``assertStringContainsString()`` to ensure that our helper is returning a string that contains the content we expect. If the result did not contain the expected content the test would fail, and we would know that our code is incorrect.