aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/test_filters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_filters.cpp b/src/tests/test_filters.cpp
index 8c858e6be..26d13e0bc 100644
--- a/src/tests/test_filters.cpp
+++ b/src/tests/test_filters.cpp
@@ -155,7 +155,7 @@ class Filter_Tests final : public Test
result.test_eq("output string", ss.str(), "efgh");
// ensure files are closed
- pipe.reset();
+ outfile.close();
outfile_read.close();
if(std::remove(tmp_name.c_str()) != 0)