测试微调
This commit is contained in:
1 parent
f760befa26
commit
8c2b3b37aa
5 files changed
+25
-13
No files matched your search
@@ -1,6 +1,8 @@
|
||||
namespace MeloongCore.Tests;
|
||||
public class PathUtilsTests {
|
||||
|
||||
#region 路径处理
|
||||
|
||||
[Theory]
|
||||
[InlineData(@"\\?\C:\foo\bar.txt", @"\\?\C:\foo")]
|
||||
[InlineData(@"C:\foo\bar.txt", @"C:\foo")]
|
||||
@@ -71,4 +73,6 @@ public class PathUtilsTests {
|
||||
public void 路径处理_GetExtension(string input, string expected)
|
||||
=> Assert.Equal(expected, PathUtils.GetExtension(input));
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user