You are here

public function DumperTest::testZeroIndentationThrowsException in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/symfony/yaml/Symfony/Component/Yaml/Tests/DumperTest.php \Symfony\Component\Yaml\Tests\DumperTest::testZeroIndentationThrowsException()

@expectedException \InvalidArgumentException @expectedExceptionMessage The indentation must be greater than zero

File

vendor/symfony/yaml/Tests/DumperTest.php, line 239

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testZeroIndentationThrowsException() {
  $this->dumper
    ->setIndentation(0);
}