From af638595435a3e224248f7ad0666f4c81f0a8543 Mon Sep 17 00:00:00 2001 From: alberic89 Date: Wed, 14 Aug 2024 18:59:32 +0200 Subject: [PATCH] test: resize to 0 --- src/root.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/root.zig b/src/root.zig index 79b9094..7af8f8a 100644 --- a/src/root.zig +++ b/src/root.zig @@ -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); }