浏览代码

[tests] Fix test executed on current Redis unstable.

Daniele Alessandri 9 年之前
父节点
当前提交
ce85fdadd1
共有 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()
     {