1--TEST--
2Games_Chess->_parseFen() invalid #5
3--SKIPIF--
4--FILE--
5<?php
6require_once dirname(__FILE__) . '/setup.php.inc';
7$board->_parseFen('RKQBPRNN/RQ 2 3 4 5 6');
8$phpunit->assertErrors(array(
9    array('package' => 'PEAR_Error', 'message' => 'Invalid FEN - "RKQBPRNN/RQ 2 3 4 5 6" has too few pieces for a chessboard'),
10), 1);
11echo 'tests done';
12?>
13--EXPECT--
14tests done