From 43d1dd41601cc2d72a057f0646794a5dc42ae60e Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Wed, 28 Oct 2026 09:00:57 +0000 Subject: [PATCH] Fix tests in release --- src/utils/string_builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/string_builder.rs b/src/utils/string_builder.rs index 3fe42c3..eec565d 100644 --- a/src/utils/string_builder.rs +++ b/src/utils/string_builder.rs @@ -132,6 +132,7 @@ mod tests { assert_eq!(builder.take(), "こんに世界, ちは"); } + #[cfg(debug_assertions)] #[test] fn test_get_slice() { let original = "abcdef";