From 8ce397e8c0a83e49e390de9deb73d588e4931ecf Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 29 Oct 2024 21:02:25 -0500 Subject: Reworking of Result. --- test/test_result.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/test_result.cpp') diff --git a/test/test_result.cpp b/test/test_result.cpp index 5eadd8c..414941a 100644 --- a/test/test_result.cpp +++ b/test/test_result.cpp @@ -15,8 +15,8 @@ * limitations under the License. */ -#include "fud_status.hpp" #include "fud_result.hpp" +#include "fud_status.hpp" #include "gtest/gtest.h" @@ -49,4 +49,9 @@ TEST(ResultTest, ErrResult) ASSERT_EQ(err2.getError(), FudStatus::ArgumentInvalid); } +TEST(ResultTest, ImplicitConversion) +{ + // Result foo = Result::okay(-1); +} + } // namespace fud -- cgit v1.2.3