aboutsummaryrefslogtreecommitdiff
path: root/src/test/flatfile_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-03-21 13:54:51 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-03-21 13:54:11 +0100
commitfa67b8181c3ecf94395ecc50fd8acd436f1f8c3a (patch)
treef503e5f15899606108accc0f63e6a99f24823c04 /src/test/flatfile_tests.cpp
parent40e1c4d4024b8ad35f2511b2e10bf80c5531dfde (diff)
Refactor: Remove unused FlatFilePos::SetNull
Diffstat (limited to 'src/test/flatfile_tests.cpp')
-rw-r--r--src/test/flatfile_tests.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/flatfile_tests.cpp b/src/test/flatfile_tests.cpp
index 9931d19c2b..54c30ed314 100644
--- a/src/test/flatfile_tests.cpp
+++ b/src/test/flatfile_tests.cpp
@@ -23,6 +23,9 @@ BOOST_AUTO_TEST_CASE(flatfile_filename)
FlatFileSeq seq2(data_dir / "a", "b", 16 * 1024);
BOOST_CHECK_EQUAL(seq2.FileName(pos), data_dir / "a" / "b00456.dat");
+
+ // Check default constructor IsNull
+ assert(FlatFilePos{}.IsNull());
}
BOOST_AUTO_TEST_CASE(flatfile_open)