Enable test case which tests invalid negative value for uint64 flag.
authorAndreas Schuh <andreas.schuh.84@gmail.com>
Mon, 17 Mar 2014 21:22:51 +0000 (21:22 +0000)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Mon, 17 Mar 2014 21:22:51 +0000 (21:22 +0000)
test/gflags_unittest.cc

index 8f3096b..cdcb600 100644 (file)
@@ -603,11 +603,8 @@ TEST(SetFlagValueTest, IllegalValues) {
   EXPECT_EQ("",
             SetCommandLineOption("test_int32", "7000000000000"));
 
-  // TODO(csilvers): uncomment this when we disallow negative numbers for uint64
-#if 0
   EXPECT_EQ("",
             SetCommandLineOption("test_uint64", "-1"));
-#endif
 
   EXPECT_EQ("",
             SetCommandLineOption("test_int64", "not a number!"));