[TASK] Cleanup: Fix some typos in UnitTests 58/48558/3
authorElmar Hinz <t3elmar@gmail.com>
Mon, 13 Jun 2016 07:40:38 +0000 (09:40 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Mon, 13 Jun 2016 08:43:43 +0000 (10:43 +0200)
wapper => wrapper
trimms => trims

Releases: master
Resolves: #76608
Change-Id: I4a2ec6503fa3a82ec9b833acfc4df02c71b84632
Reviewed-on: https://review.typo3.org/48558
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php

index 2919262..1ef7582 100755 (executable)
@@ -3024,7 +3024,7 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                 'XXX',
                 ['wrap2' => '<wrapper>|</wrapper>'],
             ],
-            'trimms whitespace' => [
+            'trims whitespace' => [
                 '<wrapper>XXX</wrapper>',
                 'XXX',
                 ['wrap2' => '<wrapper>' . TAB . ' | ' . TAB . '</wrapper>'],
@@ -3089,7 +3089,7 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                 'XXX',
                 ['wrap3' => '<wrapper>|</wrapper>'],
             ],
-            'trimms whitespace' => [
+            'trims whitespace' => [
                 '<wrapper>XXX</wrapper>',
                 'XXX',
                 ['wrap3' => '<wrapper>' . TAB . ' | ' . TAB . '</wrapper>'],
@@ -3149,14 +3149,14 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                 [],
             ],
             'simple' => [
-                '<wapper>XXX</wapper>',
+                '<wrapper>XXX</wrapper>',
                 'XXX',
-                ['wrap' => '<wapper>|</wapper>'],
+                ['wrap' => '<wrapper>|</wrapper>'],
             ],
-            'trimms whitespace' => [
-                '<wapper>XXX</wapper>',
+            'trims whitespace' => [
+                '<wrapper>XXX</wrapper>',
                 'XXX',
-                ['wrap' => '<wapper>' . TAB . ' | ' . TAB . '</wapper>'],
+                ['wrap' => '<wrapper>' . TAB . ' | ' . TAB . '</wrapper>'],
             ],
             'missing pipe puts wrap before' => [
                 '<pre>XXX',
@@ -3166,18 +3166,18 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                 ],
             ],
             'split char change' => [
-                '<wapper>XXX</wapper>',
+                '<wrapper>XXX</wrapper>',
                 'XXX',
                 [
-                    'wrap' => '<wapper> # </wapper>',
+                    'wrap' => '<wrapper> # </wrapper>',
                     'wrap.' => ['splitChar' => '#'],
                 ],
             ],
             'split by pattern' => [
-                '<wapper>XXX</wapper>',
+                '<wrapper>XXX</wrapper>',
                 'XXX',
                 [
-                    'wrap' => '<wapper> ###splitter### </wapper>',
+                    'wrap' => '<wrapper> ###splitter### </wrapper>',
                     'wrap.' => ['splitChar' => '###splitter###'],
                 ],
             ],
@@ -3223,7 +3223,7 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                 'XXX',
                 ['innerWrap' => '<pre>'],
             ],
-            'trimms whitespace' => [
+            'trims whitespace' => [
                 '<wrap>XXX</wrap>',
                 'XXX',
                 ['innerWrap' => '<wrap>' . TAB . ' | ' . TAB . '</wrap>'],