MDL-52567 Core: amend existing test to new counting rules

This commit is contained in:
Eloy Lafuente (stronk7) 2016-01-27 00:36:32 +01:00 committed by David Monllao
parent bc269f6782
commit 6e38f41d8e

View File

@ -2846,7 +2846,7 @@ class core_moodlelib_testcase extends advanced_testcase {
$this->assertEquals(3, $count);
$count = count_words('one"two three-four');
$this->assertEquals(3, $count);
$this->assertEquals(2, $count);
$count = count_words('one@two three_four');
$this->assertEquals(4, $count);