You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2015/12/04 23:07:11 UTC

[jira] [Created] (MESOS-4070) numify() handles negative numbers inconsistently.

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)