1--TEST-- 2Games_Chess->_convertSquareToSAN() no piece on a1 3--SKIPIF-- 4--FILE-- 5<?php 6require_once dirname(__FILE__) . '/setup.php.inc'; 7$board->_convertSquareToSAN('a1', 'a3', 'R'); 8$phpunit->assertErrors(array( 9 array('package' => 'PEAR_Error', 'message' => 'There is no piece on square a1') 10), 'wrong error message'); 11echo 'tests done'; 12?> 13--EXPECT-- 14tests done