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