From 3ac95403518362b10691c7ae61a3997f0de777da Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Wed, 29 Apr 2020 14:50:25 +0300 Subject: [PATCH] Update test_file_helper.cpp --- tests/test_file_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_file_helper.cpp b/tests/test_file_helper.cpp index 8cd2fd77..061f125f 100644 --- a/tests/test_file_helper.cpp +++ b/tests/test_file_helper.cpp @@ -44,7 +44,7 @@ TEST_CASE("file_helper_reopen", "[file_helper::reopen()]]") file_helper helper; helper.open(target_filename); write_with_helper(helper, 12); - REQUIRE(helper.size() == 13); + REQUIRE(helper.size() == 12); helper.reopen(true); REQUIRE(helper.size() == 0); }