You are here

public function YamlTest::testZeroIndentationThrowsException in Lockr 7.3

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

File

vendor/symfony/yaml/Tests/YamlTest.php, line 31

Class

YamlTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testZeroIndentationThrowsException() {
  Yaml::dump([
    'lorem' => 'ipsum',
    'dolor' => 'sit',
  ], 2, 0);
}