@@ -249,7 +249,7 @@ BOOST_AUTO_TEST_CASE(streams_serializedata_xor)
249249BOOST_AUTO_TEST_CASE (streams_buffered_file)
250250{
251251 fs::path streams_test_filename = m_args.GetDataDirBase () / " streams_test_tmp" ;
252- CAutoFile file{fsbridge::fopen (streams_test_filename, " w+b" ), 333 };
252+ AutoFile file{fsbridge::fopen (streams_test_filename, " w+b" )};
253253
254254 // The value at each offset is the offset.
255255 for (uint8_t j = 0 ; j < 40 ; ++j) {
@@ -380,7 +380,7 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file)
380380BOOST_AUTO_TEST_CASE (streams_buffered_file_skip)
381381{
382382 fs::path streams_test_filename = m_args.GetDataDirBase () / " streams_test_tmp" ;
383- CAutoFile file{fsbridge::fopen (streams_test_filename, " w+b" ), 333 };
383+ AutoFile file{fsbridge::fopen (streams_test_filename, " w+b" )};
384384 // The value at each offset is the byte offset (e.g. byte 1 in the file has the value 0x01).
385385 for (uint8_t j = 0 ; j < 40 ; ++j) {
386386 file << j;
@@ -433,7 +433,7 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file_rand)
433433
434434 fs::path streams_test_filename = m_args.GetDataDirBase () / " streams_test_tmp" ;
435435 for (int rep = 0 ; rep < 50 ; ++rep) {
436- CAutoFile file{fsbridge::fopen (streams_test_filename, " w+b" ), 333 };
436+ AutoFile file{fsbridge::fopen (streams_test_filename, " w+b" )};
437437 size_t fileSize = InsecureRandRange (256 );
438438 for (uint8_t i = 0 ; i < fileSize; ++i) {
439439 file << i;
0 commit comments