Removed the test that uses msgpack::object with std::string on version 1.x.

This commit is contained in:
Takatoshi Kondo
2016-02-26 13:52:14 +09:00
parent acf4ac01fc
commit 1244edeaf1

View File

@@ -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)
{ {