mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-09-03 11:36:53 +00:00
feat: 完成屏蔽词功能。
解决问题(#77)(https://github.com/real-zony/ZonyLrcToolsX/issues/77)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZonyLrcTools.Cli.Infrastructure.Tag;
|
||||
|
||||
namespace ZonyLrcTools.Tests.Infrastructure.Tag
|
||||
{
|
||||
public class BlockWordDictionaryTests : TestBase
|
||||
{
|
||||
[Fact]
|
||||
public void GetValue_Test()
|
||||
{
|
||||
var dictionary = GetService<IBlockWordDictionary>();
|
||||
var result = dictionary.GetValue("fuckking");
|
||||
|
||||
result.ShouldBe("***kking");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user