diff options
Diffstat (limited to 'test/test_result.cpp')
-rw-r--r-- | test/test_result.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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<int, int16_t> foo = Result<int, int16_t>::okay(-1); +} + } // namespace fud |