projects
/
platform
/
upstream
/
gflags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0dca4d
)
Enable test case which tests invalid negative value for uint64 flag.
author
Andreas Schuh
<andreas.schuh.84@gmail.com>
Mon, 17 Mar 2014 21:22:51 +0000
(21:22 +0000)
committer
Andreas Schuh
<andreas.schuh.84@gmail.com>
Mon, 17 Mar 2014 21:22:51 +0000
(21:22 +0000)
test/gflags_unittest.cc
patch
|
blob
|
history
diff --git
a/test/gflags_unittest.cc
b/test/gflags_unittest.cc
index
8f3096b
..
cdcb600
100644
(file)
--- a/
test/gflags_unittest.cc
+++ b/
test/gflags_unittest.cc
@@
-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!"));