Fix unsigned long as unsigned unit test
This commit is contained in:
parent
a040fc3347
commit
a37f9d1ecd
@ -499,7 +499,7 @@ TEST(Value, Uint) {
|
|||||||
RAPIDJSON_STATIC_ASSERT(sizeof(unsigned long) == sizeof(unsigned));
|
RAPIDJSON_STATIC_ASSERT(sizeof(unsigned long) == sizeof(unsigned));
|
||||||
z.SetUint(1234);
|
z.SetUint(1234);
|
||||||
EXPECT_TRUE(z.Is<unsigned long>());
|
EXPECT_TRUE(z.Is<unsigned long>());
|
||||||
EXPECT_EQ(1234ul, z.Get<unsigned>());
|
EXPECT_EQ(1234ul, z.Get<unsigned long>());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user