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