Skip to content

Commit

Permalink
test: resize to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
alberic89 committed Aug 14, 2024
1 parent 368af07 commit af63859
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -896,4 +896,7 @@ test "resize" {
try doTestScore(&alg, "abc", "ab", o.score_match * 2 +
(o.bonus_head * o.bonus_first_character_multiplier) +
o.bonus_consecutive);

// normally works
try alg.resize(0, 0);
}

0 comments on commit af63859

Please sign in to comment.