Skip to content

Commit c4262b4

Browse files
committed
Fix tests
1 parent 95ae5b6 commit c4262b4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Main/tests/IO/PathHelpersTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ public enum PathKind
5656
[TestCase(@"a:\.a.b\", PathKind.ValidAbsoluteContainerPath)]
5757
[TestCase(@"a:\a\..a\", PathKind.ValidAbsoluteContainerPath)]
5858
[TestCase(@"a:\a\..a.b\", PathKind.ValidAbsoluteContainerPath)]
59-
#if TARGETS_NETCORE
59+
// SEE https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/retargeting/4.6.1-4.6.2#changes-in-path-normalization
60+
#if TARGETS_NETCORE || !LESSTHAN_NET462
6061
[TestCase(@"a:\a\..a..\", PathKind.ValidAbsoluteContainerPath)]
6162
#else
6263
[TestCase(@"a:\a\..a..\", PathKind.Invalid)]

Main/tests/TargetingTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public class TargetingTests
2020
".NETFramework,Version=v4.5";
2121
#elif NET461
2222
".NETFramework,Version=v4.6.1";
23+
#elif NET472
24+
".NETFramework,Version=v4.7.2";
2325
#elif NETCOREAPP2_0
2426
".NETCoreApp,Version=v2.0";
2527
#else

0 commit comments

Comments
 (0)