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)