mirror of
https://github.com/houbb/sensitive-word.git
synced 2026-03-22 08:27:36 +08:00
add for bugs
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user