mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-29 12:27:59 +01:00
Fix unsigned long as unsigned unit test
This commit is contained in:
@@ -499,7 +499,7 @@ TEST(Value, Uint) {
|
||||
RAPIDJSON_STATIC_ASSERT(sizeof(unsigned long) == sizeof(unsigned));
|
||||
z.SetUint(1234);
|
||||
EXPECT_TRUE(z.Is<unsigned long>());
|
||||
EXPECT_EQ(1234ul, z.Get<unsigned>());
|
||||
EXPECT_EQ(1234ul, z.Get<unsigned long>());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user