Commit d419c0ae authored by miloyip@gmail.com's avatar miloyip@gmail.com

Test warning fix for Issue 48: incorrect return type of GetUint64()

git-svn-id: https://rapidjson.googlecode.com/svn/trunk@87 c5894555-1306-4e8d-425f-1f6f381ee07c
parent b7d12d8a
......@@ -263,7 +263,7 @@ TEST(Value, Uint64) {
// SetUint64()
Value z;
z.SetUint64(1234);
EXPECT_EQ(1234, z.GetUint64());
EXPECT_EQ(1234u, z.GetUint64());
z.SetUint64(2147483648LL); // 2^31, cannot cast as int
EXPECT_FALSE(z.IsInt());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment