public function YamlTest::testNegativeIndentationThrowsException in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/symfony/yaml/Tests/YamlTest.php \Symfony\Component\Yaml\Tests\YamlTest::testNegativeIndentationThrowsException()
@expectedException \InvalidArgumentException @expectedExceptionMessage The indentation must be greater than zero
File
- vendor/
symfony/ yaml/ Symfony/ Component/ Yaml/ Tests/ YamlTest.php, line 45
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testNegativeIndentationThrowsException() {
Yaml::dump(array(
'lorem' => 'ipsum',
'dolor' => 'sit',
), 2, -4);
}