public function YamlTest::testNegativeIndentationThrowsException in Database Sanitize 7
@expectedException \InvalidArgumentException @expectedExceptionMessage The indentation must be greater than zero
File
- vendor/
symfony/ yaml/ Tests/ YamlTest.php, line 40
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testNegativeIndentationThrowsException() {
Yaml::dump(array(
'lorem' => 'ipsum',
'dolor' => 'sit',
), 2, -4);
}