@@ -13,7 +13,7 @@ open Fake.Runtime
13
13
let tests =
14
14
testList
15
15
" Fake.DotNet.sdkAssemblyResolverTests"
16
- [ testCase " Runner run script with 6.0.100 SDK version assemblies"
16
+ [ testCase " Runner run script with 6.0.300 SDK version assemblies"
17
17
<| fun _ ->
18
18
try
19
19
use d = createTestDir ()
@@ -30,7 +30,7 @@ let tests =
30
30
WorkingDirectory = scenarioTempPath " core-reference-assemblies-net60100"
31
31
CustomInstallDir = Some preparedDir
32
32
Channel = DotNet.CliChannel.Version 6 0
33
- Version = DotNet.CliVersion.Version " 6.0.100 " })
33
+ Version = DotNet.CliVersion.Version " 6.0.300 " })
34
34
|> ignore
35
35
36
36
Environment.setEnvironVar " FAKE_SDK_RESOLVER_CUSTOM_DOTNET_PATH" preparedDir
@@ -47,15 +47,15 @@ let tests =
47
47
let stdOut = String.Join( " \n " , result.Messages) .Trim()
48
48
49
49
let expectedNet6PathPortion =
50
- " packs" </> " Microsoft.NETCore.App.Ref" </> " 6.0.0 " </> " ref" </> " net6.0"
50
+ " packs" </> " Microsoft.NETCore.App.Ref" </> " 6.0.5 " </> " ref" </> " net6.0"
51
51
52
52
( sprintf " stdout should contain path like '%s ', but was: '%s '" expectedNet6PathPortion stdOut)
53
53
|> Expect.isTrue ( stdOut.Contains expectedNet6PathPortion)
54
54
finally
55
55
// clean up after the test run
56
56
Environment.setEnvironVar " FAKE_SDK_RESOLVER_CUSTOM_DOTNET_PATH" " "
57
57
58
- testCase " Runner run script with 6.0.101 SDK version assemblies"
58
+ testCase " Runner run script with 6.0.301 SDK version assemblies"
59
59
<| fun _ ->
60
60
try
61
61
use d = createTestDir ()
@@ -72,7 +72,7 @@ let tests =
72
72
WorkingDirectory = scenarioTempPath " core-reference-assemblies-net60101"
73
73
CustomInstallDir = Some preparedDir
74
74
Channel = DotNet.CliChannel.Version 6 0
75
- Version = DotNet.CliVersion.Version " 6.0.101 " })
75
+ Version = DotNet.CliVersion.Version " 6.0.301 " })
76
76
|> ignore
77
77
78
78
Environment.setEnvironVar " FAKE_SDK_RESOLVER_CUSTOM_DOTNET_PATH" preparedDir
@@ -89,7 +89,7 @@ let tests =
89
89
let stdOut = String.Join( " \n " , result.Messages) .Trim()
90
90
91
91
let expectedNet6PathPortion =
92
- " packs" </> " Microsoft.NETCore.App.Ref" </> " 6.0.1 " </> " ref" </> " net6.0"
92
+ " packs" </> " Microsoft.NETCore.App.Ref" </> " 6.0.6 " </> " ref" </> " net6.0"
93
93
94
94
( sprintf " stdout should contain path like '%s ', but was: '%s '" expectedNet6PathPortion stdOut)
95
95
|> Expect.isTrue ( stdOut.Contains expectedNet6PathPortion)
@@ -113,7 +113,7 @@ let tests =
113
113
WorkingDirectory = scenarioTempPath " core-reference-assemblies-net60101-rollforward"
114
114
CustomInstallDir = Some preparedDir
115
115
Channel = DotNet.CliChannel.Version 6 0
116
- Version = DotNet.CliVersion.Version " 6.0.101 " })
116
+ Version = DotNet.CliVersion.Version " 6.0.301 " })
117
117
|> ignore
118
118
119
119
let result =
@@ -127,7 +127,7 @@ let tests =
127
127
128
128
Expect.isTrue result.OK " The build did not succeed"
129
129
130
- testCase " Runner run script with 6.0.100 SDK version assemblies and resolve runtime version from cached file"
130
+ testCase " Runner run script with 6.0.300 SDK version assemblies and resolve runtime version from cached file"
131
131
<| fun _ ->
132
132
try
133
133
use d = createTestDir ()
@@ -144,7 +144,7 @@ let tests =
144
144
WorkingDirectory = scenarioTempPath " core-reference-assemblies-net60100"
145
145
CustomInstallDir = Some preparedDir
146
146
Channel = DotNet.CliChannel.Version 6 0
147
- Version = DotNet.CliVersion.Version " 6.0.100 " })
147
+ Version = DotNet.CliVersion.Version " 6.0.300 " })
148
148
|> ignore
149
149
150
150
Environment.setEnvironVar " FAKE_SDK_RESOLVER_CUSTOM_DOTNET_PATH" preparedDir
@@ -164,7 +164,7 @@ let tests =
164
164
printfn " %s " stdOut
165
165
166
166
let expectedNet6PathPortion =
167
- " packs" </> " Microsoft.NETCore.App.Ref" </> " 6.0.0 " </> " ref" </> " net6.0"
167
+ " packs" </> " Microsoft.NETCore.App.Ref" </> " 6.0.5 " </> " ref" </> " net6.0"
168
168
169
169
let expectedCacheFileResolutionMessage =
170
170
" Trying to resolve runtime version from cache.."
0 commit comments