mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 03:20:15 +01:00
Fixed Issue 41 Incorrect parsing of unsigned int number types
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@72 c5894555-1306-4e8d-425f-1f6f381ee07c
This commit is contained in:
@@ -189,6 +189,7 @@ TEST(Value, Uint) {
|
||||
z = 2147483648u; // 2^31, cannot cast as int
|
||||
EXPECT_EQ(2147483648u, z.GetUint());
|
||||
EXPECT_FALSE(z.IsInt());
|
||||
EXPECT_TRUE(z.IsInt64()); // Issue 41: Incorrect parsing of unsigned int number types
|
||||
}
|
||||
|
||||
TEST(Value, Int64) {
|
||||
|
||||
Reference in New Issue
Block a user