Jie Yu created MESOS-4070:
-----------------------------
Summary: numify() handles negative numbers inconsistently.
Key: MESOS-4070
URL: https://issues.apache.org/jira/browse/MESOS-4070
Project: Mesos
Issue Type: Bug
Reporter: Jie Yu
As pointed by [~neilc] in this review:
https://reviews.apache.org/r/40988
{noformat}
Try<int> num2 = numify<int>("-10");
EXPECT_SOME_EQ(-10, num2);
// TODO(neilc): This is inconsistent with the handling of non-hex numbers.
EXPECT_ERROR(numify<int>("-0x10"));
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)