Skip to content

Commit

Permalink
Fix: Segmentation fault from paths test.
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletaStepanyan committed Mar 23, 2023
1 parent ae90ee1 commit ea329da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_units.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ TEST(db, paths) {
// Try getting the remaining results, which is the other one from that same pair
max_count = 10;
paths_match.previous = &tape_begin;
paths_match.options = ukv_option_dont_discard_memory_k;
ukv_paths_match(&paths_match);
auto second_match_for_a = std::string_view(tape_begin);
EXPECT_EQ(results_counts[0], 1);
Expand Down

0 comments on commit ea329da

Please sign in to comment.