diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-02-11 16:36:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-11 16:36:17 -0800 |
commit | 74eb9a0a304a3261f3c83e100f51081986ac8ba6 (patch) | |
tree | d7171743decd0b21fdf60fc76d5fd0509ebceeda /php/tests/encode_decode_test.php | |
parent | ef927cc428db7bf41d3a593a16a8f1a0fe6306c5 (diff) | |
download | protobuf-74eb9a0a304a3261f3c83e100f51081986ac8ba6.tar.gz protobuf-74eb9a0a304a3261f3c83e100f51081986ac8ba6.tar.bz2 protobuf-74eb9a0a304a3261f3c83e100f51081986ac8ba6.zip |
Add clear method to PHP message (#2700)
Diffstat (limited to 'php/tests/encode_decode_test.php')
-rw-r--r-- | php/tests/encode_decode_test.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php/tests/encode_decode_test.php b/php/tests/encode_decode_test.php index 7eb815ad..3218aa63 100644 --- a/php/tests/encode_decode_test.php +++ b/php/tests/encode_decode_test.php @@ -22,7 +22,8 @@ class EncodeDecodeTest extends TestBase $this->expectFields($from); $data = $from->encode(); - $this->assertSame(TestUtil::getGoldenTestMessage(), $data); + $this->assertSame(bin2hex(TestUtil::getGoldenTestMessage()), + bin2hex($data)); } public function testDecode() |