commit 965fe99a898b4c4806b1fd34ba20aa728894d75a Author: Joel Pittet Date: Sat Sep 12 12:59:29 2015 -0700 nitfix diff --git a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php index 02e364b..1c13517 100644 --- a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php +++ b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php @@ -238,8 +238,8 @@ public function testLanguageContext() { 'langcode' => 'hr', )); - // We cast the return value of t() to string so as to retrieve the translated - // value, rendered as a string. + // We cast the return value of t() to string so as to retrieve the + // translated value, rendered as a string. $this->assertIdentical((string) t('May', array(), array('langcode' => 'hr', 'context' => 'Long month name')), 'Svibanj', 'Long month name context is working.'); $this->assertIdentical((string) t('May', array(), array('langcode' => 'hr')), 'Svi.', 'Default context is working.'); } diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php index db99715..10dc9a4 100644 --- a/core/modules/simpletest/src/TestBase.php +++ b/core/modules/simpletest/src/TestBase.php @@ -654,7 +654,7 @@ protected function assertNotNull($value, $message = '', $group = 'Other') { * translate this string. Defaults to 'Other'; most tests do not override * this default. * - * @return bool + * @return * TRUE if the assertion succeeded, FALSE otherwise. */ protected function assertEqual($first, $second, $message = '', $group = 'Other') { @@ -772,9 +772,8 @@ protected function assertIdentical($first, $second, $message = '', $group = 'Oth * translate this string. Defaults to 'Other'; most tests do not override * this default. * - * @return + * @return bool * TRUE if the assertion succeeded, FALSE otherwise. - * */ protected function assertIdenticalWithSafeStrings($first, $second, $message = '', $group = 'Other') { $this->castSafeStrings($first, $second);