Skip to content

Commit 1244ede

Browse files
committed
Removed the test that uses msgpack::object with std::string on version 1.x.
1 parent acf4ac0 commit 1244ede

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/object_with_zone.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ TEST(object_with_zone, string)
316316
EXPECT_EQ(obj.as<string>()[0], 'a');
317317
}
318318

319+
#if MSGPACK_DEFAULT_API_VERSION == 1
320+
319321
TEST(object_without_zone, string)
320322
{
321323
string v = "abc";
@@ -326,6 +328,8 @@ TEST(object_without_zone, string)
326328
EXPECT_EQ(obj.as<string>()[0], 'd');
327329
}
328330

331+
#endif // MSGPACK_DEFAULT_API_VERSION == 1
332+
329333
// char*
330334
TEST(object_with_zone, char_ptr)
331335
{

0 commit comments

Comments
 (0)