You are here

public function TrimTest::testTrimBothSides in Tamper 8

Test trimming both sides.

File

tests/src/Unit/Plugin/Tamper/TrimTest.php, line 53

Class

TrimTest
Tests the trim plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testTrimBothSides() {
  $this
    ->assertEquals('asdfasf', $this->plugin
    ->tamper('  asdfasf  '));
}