浏览代码

rename duplicate testMessageSetNullFail function (#3669)

the testMessageSetNullFail function was declared twice.
So I renamed one to testMessageSetNullFailMap
Pat Moroney 7 年之前
父节点
当前提交
d65d5821bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      php/tests/undefined_test.php

+ 1 - 1
php/tests/undefined_test.php

@@ -909,7 +909,7 @@ class UndefinedTest extends PHPUnit_Framework_TestCase
     /**
      * @expectedException PHPUnit_Framework_Error
      */
-    public function testMessageSetNullFail()
+    public function testMessageSetNullFailMap()
     {
        $arr =
            new MapField(GPBType::INT32, GPBType::MESSAGE, TestMessage::class);