add for bugs

This commit is contained in:
binbin.hou
2024-04-26 17:57:49 +08:00
parent e8c47ac7d2
commit 9da60cbe79

View File

@@ -0,0 +1,17 @@
package com.github.houbb.sensitive.word.bugs.b55;
import com.github.houbb.sensitive.word.bs.SensitiveWordBs;
import org.junit.Assert;
import org.junit.Test;
public class Bug55Test {
@Test
public void test() {
SensitiveWordBs sensitiveWordBs = SensitiveWordBs.newInstance()
.init();
final String text = "以个人账户或现金收取资金、现场或即时交付本金即给予部分提成、分红、利息;";
Assert.assertEquals("[]", sensitiveWordBs.findAll(text).toString());
}
}