public function TwigSanitizeTest::testRemoveEmpty in Twig Tools 8
@covers ::removeEmpty
@dataProvider providerTestRemoveEmptyValues
File
- tests/src/ Unit/ TwigSanitizeTest.php, line 111 
Class
- TwigSanitizeTest
- Tests to ensure sanitization filters work correctly.
Namespace
Drupal\Tests\twig_tools\UnitCode
public function testRemoveEmpty($template, $expected) {
  $result = $this->twig
    ->render($template);
  $this
    ->assertSame($expected, $result);
}