[ https://issues.apache.org/jira/browse/MESOS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jie Yu updated MESOS-4070: -------------------------- Labels: tech-debt (was: ) > numify() handles negative numbers inconsistently. > ------------------------------------------------- > > Key: MESOS-4070 > URL: https://issues.apache.org/jira/browse/MESOS-4070 > Project: Mesos > Issue Type: Bug > Components: stout > Reporter: Jie Yu > Labels: tech-debt > > 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)