public function YamlTest::testZeroIndentationThrowsException 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::testZeroIndentationThrowsException()
@expectedException \InvalidArgumentException @expectedExceptionMessage The indentation must be greater than zero
File
- vendor/
symfony/ yaml/ Symfony/ Component/ Yaml/ Tests/ YamlTest.php, line 36
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testZeroIndentationThrowsException() {
Yaml::dump(array(
'lorem' => 'ipsum',
'dolor' => 'sit',
), 2, 0);
}