diff --git a/test/unit/format/sam_file_format_test_template.hpp b/test/unit/format/sam_file_format_test_template.hpp index bcc2a7f..32eaa42 100644 --- a/test/unit/format/sam_file_format_test_template.hpp +++ b/test/unit/format/sam_file_format_test_template.hpp @@ -238,7 +238,7 @@ TYPED_TEST_P(sam_file_read, select_fields) using record_t = bio::detail::record_from_typelist, std::remove_cvref_t>; - bio::map_io::reader_options default_options{}; + bio::map_io::reader_options default_options{.field_ids = fid, .field_types = ftype}; bio::format_input_handler input_handler{istream, default_options}; record_t rec;