Update test_file_helper.cpp

This commit is contained in:
Gabi Melman 2020-04-29 14:50:25 +03:00 committed by GitHub
parent d5709c9d70
commit 3ac9540351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}