mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-14 15:05:37 +02:00
Removed the test that uses msgpack::object with std::string on version 1.x.
This commit is contained in:
@@ -316,6 +316,8 @@ TEST(object_with_zone, string)
|
|||||||
EXPECT_EQ(obj.as<string>()[0], 'a');
|
EXPECT_EQ(obj.as<string>()[0], 'a');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if MSGPACK_DEFAULT_API_VERSION == 1
|
||||||
|
|
||||||
TEST(object_without_zone, string)
|
TEST(object_without_zone, string)
|
||||||
{
|
{
|
||||||
string v = "abc";
|
string v = "abc";
|
||||||
@@ -326,6 +328,8 @@ TEST(object_without_zone, string)
|
|||||||
EXPECT_EQ(obj.as<string>()[0], 'd');
|
EXPECT_EQ(obj.as<string>()[0], 'd');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // MSGPACK_DEFAULT_API_VERSION == 1
|
||||||
|
|
||||||
// char*
|
// char*
|
||||||
TEST(object_with_zone, char_ptr)
|
TEST(object_with_zone, char_ptr)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user