mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2026-11-02 01:07:25 +08:00
test: Try to reproduce the issue 84.
This commit is contained in:
1 parent
9ef700df46
commit
089559d058
1 file changed
+9
-1
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Newtonsoft.Json;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZonyLrcTools.Cli.Infrastructure.Lyric;
|
||||
@@ -42,5 +42,13 @@ namespace ZonyLrcTools.Tests.Infrastructure.Lyric
|
||||
lyric.ShouldNotBeNull();
|
||||
lyric.IsPruneMusic.ShouldBe(true);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task DownloadAsync_Issue84_Test()
|
||||
{
|
||||
var lyric = await _lyricDownloader.DownloadAsync("太空彈", "01");
|
||||
lyric.ShouldNotBeNull();
|
||||
lyric.IsPruneMusic.ShouldBe(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user