diff options
Diffstat (limited to 'test/test_fud.cpp')
-rw-r--r-- | test/test_fud.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |