소스 검색

[tests] Fix test executed on current Redis unstable.

Daniele Alessandri 9 년 전
부모
커밋
b6a14cda04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Predis/Command/HashIncrementByFloatTest.php

+ 1 - 1
tests/Predis/Command/HashIncrementByFloatTest.php

@@ -88,7 +88,7 @@ class HashIncrementByFloatTest extends PredisCommandTestCase
     /**
      * @group connected
      * @expectedException \Predis\Response\ServerException
-     * @expectedExceptionMessage ERR hash value is not a valid float
+     * @expectedExceptionMessageRegExp /ERR hash value is not a( valid)? float/
      */
     public function testThrowsExceptionOnStringField()
     {