diff options
Diffstat (limited to 'src/SMAPI.Tests/Utilities')
-rw-r--r-- | src/SMAPI.Tests/Utilities/PathUtilitiesTests.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/SMAPI.Tests/Utilities/PathUtilitiesTests.cs b/src/SMAPI.Tests/Utilities/PathUtilitiesTests.cs index ea69a9ea..b5494003 100644 --- a/src/SMAPI.Tests/Utilities/PathUtilitiesTests.cs +++ b/src/SMAPI.Tests/Utilities/PathUtilitiesTests.cs @@ -179,10 +179,10 @@ namespace SMAPI.Tests.Utilities ****/ [Test(Description = "Assert that PathUtilities.NormalizePathSeparators normalizes paths correctly.")] [TestCaseSource(nameof(PathUtilitiesTests.SamplePaths))] - public void NormalizePathSeparators(SamplePath path) + public void NormalizePath(SamplePath path) { // act - string normalized = PathUtilities.NormalizePathSeparators(path.OriginalPath); + string normalized = PathUtilities.NormalizePath(path.OriginalPath); // assert #if SMAPI_FOR_WINDOWS @@ -218,11 +218,6 @@ namespace SMAPI.Tests.Utilities ExpectedResult = @"path\to\child" )] [TestCase( - @"\\parent\unc", - @"\\adjacent\unc", - ExpectedResult = @"\\adjacent\unc" - )] - [TestCase( @"C:\same\path", @"C:\same\path", ExpectedResult = @"." |