From 1244edeaf19a86898122e9e9ed29af2e1252679d Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Fri, 26 Feb 2016 13:52:14 +0900 Subject: [PATCH] Removed the test that uses msgpack::object with std::string on version 1.x. --- test/object_with_zone.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/object_with_zone.cpp b/test/object_with_zone.cpp index 9e3a80dd..eab3ac8b 100644 --- a/test/object_with_zone.cpp +++ b/test/object_with_zone.cpp @@ -316,6 +316,8 @@ TEST(object_with_zone, string) EXPECT_EQ(obj.as()[0], 'a'); } +#if MSGPACK_DEFAULT_API_VERSION == 1 + TEST(object_without_zone, string) { string v = "abc"; @@ -326,6 +328,8 @@ TEST(object_without_zone, string) EXPECT_EQ(obj.as()[0], 'd'); } +#endif // MSGPACK_DEFAULT_API_VERSION == 1 + // char* TEST(object_with_zone, char_ptr) {