1--TEST--
2SPL: SplFileObject::setMaxLineLen error 001()
3--CREDITS--
4Erwin Poeze <erwin.poeze at gmail.com>
5--FILE--
6<?php
7$s = new SplFileObject( __FILE__ );
8try {
9    $s->setMaxLineLen(-1);
10}
11catch (\ValueError $e) {
12    echo $e->getMessage() . \PHP_EOL;
13}
14
15?>
16--EXPECT--
17SplFileObject::setMaxLineLen(): Argument #1 ($maxLength) must be greater than or equal to 0
18