File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1102,7 +1102,7 @@ TEST(object_with_zone, ext_ref_empty)
11021102 msgpack::type::ext_ref v;
11031103 msgpack::zone z;
11041104 msgpack::object obj (v, z);
1105- EXPECT_TRUE (obj.as <msgpack::type::ext>() == v );
1105+ EXPECT_TRUE (obj.as <msgpack::type::ext>() == msgpack::type::ext (v) );
11061106 EXPECT_TRUE (obj.as <msgpack::type::ext_ref>() == v);
11071107}
11081108
@@ -1112,6 +1112,6 @@ TEST(object_with_zone, ext_ref_from_buf)
11121112 msgpack::type::ext_ref v (buf, sizeof (buf));
11131113 msgpack::zone z;
11141114 msgpack::object obj (v, z);
1115- EXPECT_TRUE (obj.as <msgpack::type::ext>() == v );
1115+ EXPECT_TRUE (obj.as <msgpack::type::ext>() == msgpack::type::ext (v) );
11161116 EXPECT_TRUE (obj.as <msgpack::type::ext_ref>() == v);
11171117}
You can’t perform that action at this time.
0 commit comments