summaryrefslogtreecommitdiff
path: root/test/test_fud.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-29 21:02:25 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-29 21:02:25 -0500
commit8ce397e8c0a83e49e390de9deb73d588e4931ecf (patch)
tree31f4f4facf0cb75535aaec130d606c54fe97b2d8 /test/test_fud.cpp
parentf281050ddb3b9d658cff67a254eedc3b79de5c5d (diff)
Reworking of Result.
Diffstat (limited to 'test/test_fud.cpp')
-rw-r--r--test/test_fud.cpp2
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);