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_fud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_fud.cpp') diff --git a/test/test_fud.cpp b/test/test_fud.cpp index 72d569a..f84ad20 100644 --- a/test/test_fud.cpp +++ b/test/test_fud.cpp @@ -51,7 +51,7 @@ TEST(FudTest, GetEnv) ASSERT_TRUE(fudVarResult.isError()); ASSERT_EQ(fudVarResult.getError(), FudStatus::NullPointer); - fudVarResult = getEnv(testVarName); + fudVarResult = std::move(getEnv(testVarName)); ASSERT_TRUE(fudVarResult.isError()); ASSERT_EQ(fudVarResult.getError(), FudStatus::NotFound); -- cgit v1.2.3