Merge pull request #140 from redboltz/fix_issue95_on_poc0.6

Fixed https://github.com/msgpack/msgpack-c/pull/95 on poc/0.6 branch.
This commit is contained in:
Takatoshi Kondo 2014-10-24 22:37:37 +09:00
commit 2d5d12f9a6

View File

@ -192,10 +192,8 @@ TYPED_TEST_P(IntegerToFloatingPointTest, simple_buffer)
v.push_back(1);
if (numeric_limits<integer_type>::is_signed) v.push_back(-1);
else v.push_back(2);
v.push_back(numeric_limits<integer_type>::min());
v.push_back(numeric_limits<integer_type>::max());
for (unsigned int i = 0; i < kLoop; i++) {
v.push_back(rand());
v.push_back(rand() % 0x7FFFFF);
}
for (unsigned int i = 0; i < v.size() ; i++) {
msgpack::sbuffer sbuf;
@ -471,4 +469,3 @@ TEST(MSGPACK_STL, simple_buffer_cstring)
EXPECT_EQ(val1, val2);
}
}