mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-01 20:30:41 +00:00
15 lines
394 B
C#
15 lines
394 B
C#
using Shouldly;
|
|
using Xunit;
|
|
using ZonyLrcTools.Common;
|
|
|
|
namespace ZonyLrcTools.Tests;
|
|
|
|
public class MusicInfoTests
|
|
{
|
|
[Fact]
|
|
public void InvalidFilePathTest()
|
|
{
|
|
var musicInfo = new MusicInfo("C:\\Users\\Zony\\Music\\[ZonyLrcTools]:? - 01. 你好.mp3", "你好", "Zony");
|
|
musicInfo.FilePath.ShouldBe(@"C:\Users\Zony\Music\[ZonyLrcTools] - 01. 你好.mp3");
|
|
}
|
|
} |