From 0d0246db5a600d26a23432278fa770b2f0bc2bc7 Mon Sep 17 00:00:00 2001 From: David Sisson Date: Fri, 9 Feb 2024 16:11:24 -0800 Subject: [PATCH] Added error test case. --- export/planloader/tests/PlanLoaderTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/export/planloader/tests/PlanLoaderTest.cpp b/export/planloader/tests/PlanLoaderTest.cpp index db4f631a..744ac1d2 100644 --- a/export/planloader/tests/PlanLoaderTest.cpp +++ b/export/planloader/tests/PlanLoaderTest.cpp @@ -34,6 +34,8 @@ TEST(PlanLoaderTest, LoadMissingFile) { ASSERT_THAT( serializedPlan->error_message, ::testing::StartsWith("Failed to open file no_such_file.json")); + + free_substrait_plan(serializedPlan); } } // namespace