refactor: Move the related configuration items to the Common library.

This commit is contained in:
real-zony
2022-10-06 12:27:21 +08:00
parent bccfaaaa5b
commit 9f96aa0186
16 changed files with 89 additions and 71 deletions

View File

@@ -2,6 +2,8 @@
using Xunit;
using ZonyLrcTools.Cli.Config;
using ZonyLrcTools.Cli.Infrastructure.Lyric;
using ZonyLrcTools.Common.Configuration;
using ZonyLrcTools.Common.Lyrics;
namespace ZonyLrcTools.Tests.Infrastructure.Lyric
{
@@ -10,7 +12,7 @@ namespace ZonyLrcTools.Tests.Infrastructure.Lyric
[Fact]
public void LyricCollectionLineBreak_Test()
{
var lyricObject = new LyricItemCollection(new LyricConfigOption
var lyricObject = new LyricItemCollection(new GlobalLyricsConfigOptions
{
IsOneLine = false,
LineBreak = LineBreakType.MacOs