コード例 #1
0
ファイル: Hamcrest.php プロジェクト: zhangjingli35/hamcrest
/**
 * Matches if value is a string equal to $string, regardless of the case.
 */
function equalToIgnoringCase($string)
{
    require_once 'Hamcrest/Text/IsEqualIgnoringCase.php';
    return Hamcrest_Text_IsEqualIgnoringCase::equalToIgnoringCase($string);
}
コード例 #2
0
 protected function createMatcher()
 {
     return Hamcrest_Text_IsEqualIgnoringCase::equalToIgnoringCase('irrelevant');
 }