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";