1--TEST-- 2Games_Chess->getPossiblePawnMoves() invalid square 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$err = $board->getPossiblePawnMoves('a9', 'B'); 8$phpunit->assertErrors(array( 9 array('package' => 'PEAR_Error', 'message' => '"a9" is not a valid square, must be between a1 and h8') 10), 1); 11echo 'tests done'; 12?> 13--EXPECT-- 14tests done