Skip to content

Commit

Permalink
fix: FlatbufferParser.SingleExample_MissingFeatureIndicies expecting …
Browse files Browse the repository at this point in the history
…wrong error code
  • Loading branch information
lokitoth committed Feb 15, 2024
1 parent bc710dd commit f7c0c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vowpalwabbit/fb_parser/tests/flatbuffer_parser_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ TEST(FlatbufferParser, SingleExample_MissingFeatureIndices)
examples.push_back(&VW::get_unused_example(all.get()));
VW::io_buf unused_buffer;
EXPECT_EQ(all->parser_runtime.flat_converter->parse_examples(all.get(), unused_buffer, examples, buf),
VW::experimental::error_code::fb_parser_name_hash_missing);
VW::experimental::error_code::fb_parser_feature_hashes_names_missing);
EXPECT_EQ(all->parser_runtime.example_parser->reader(all.get(), unused_buffer, examples), 0);

auto example = all->parser_runtime.flat_converter->data()->example_obj_as_Example();
Expand Down

0 comments on commit f7c0c1a

Please sign in to comment.