You are here

public function YamlTest::testNegativeIndentationThrowsException in Lockr 7.3

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

File

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

Class

YamlTest

Namespace

Symfony\Component\Yaml\Tests

Code

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