diff --git a/tests/ZonyLrcTools.Tests/Infrastructure/Lyric/NetEaseLyricDownloaderTests.cs b/tests/ZonyLrcTools.Tests/Infrastructure/Lyric/NetEaseLyricDownloaderTests.cs index 844a250..9068517 100644 --- a/tests/ZonyLrcTools.Tests/Infrastructure/Lyric/NetEaseLyricDownloaderTests.cs +++ b/tests/ZonyLrcTools.Tests/Infrastructure/Lyric/NetEaseLyricDownloaderTests.cs @@ -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); + } } } \ No newline at end of file