You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jan Schlicht (JIRA)" <ji...@apache.org> on 2017/03/08 11:29:38 UTC
[jira] [Created] (MESOS-7220) 'EXPECT_SOME' and other asserts don't
work with 'Try's that have a custom error state.
Jan Schlicht created MESOS-7220:
-----------------------------------
Summary: 'EXPECT_SOME' and other asserts don't work with 'Try's that have a custom error state.
Key: MESOS-7220
URL: https://issues.apache.org/jira/browse/MESOS-7220
Project: Mesos
Issue Type: Bug
Components: stout
Reporter: Jan Schlicht
Priority: Minor
MESOS-5110 introduced an additional template parameter for {{Try}} to support custom error types. Using these values with {{EXPECT_SOME}} doesn't work, i.e.
{code}
Try<Foo, FooError> foo = bar();
EXPECT_SOME(foo);
{code}
won't compile. The other assertions in {{stout/gtest.hpp}} are likely affected as well.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)