You are here

public function DumperTest::testNegativeIndentationThrowsException in Loft Data Grids 6.2

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

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

File

vendor/symfony/yaml/Symfony/Component/Yaml/Tests/DumperTest.php, line 246

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testNegativeIndentationThrowsException() {
  $this->dumper
    ->setIndentation(-4);
}