Skip to content

Commit 16600bb

Browse files
committed
Update pipeline configs and clean up test code
Bump .NET SDK version to 10.0.101 and increment patch/revision numbers in both Azure pipeline YAML files. Remove unnecessary blank lines in ConfigurationTestsWithoutAppsettings.cs for cleaner test code.
1 parent 5fcbc46 commit 16600bb

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

azure-pipeline-PR.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variables:
22
Major: 10
33
Minor: 0
4-
Patch: 1
4+
Patch: 2
55
BuildConfiguration: Release
66

77
name: $(Major).$(Minor).$(Patch).$(rev:r)
@@ -17,7 +17,7 @@ steps:
1717
displayName: 'Use .NET 10.0 sdk'
1818
inputs:
1919
packageType: sdk
20-
version: 10.0.100
20+
version: 10.0.101
2121
installationPath: $(Agent.ToolsDirectory)/dotnet
2222
- script: echo Started restoring the source code
2323
- task: DotNetCoreCLI@2

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variables:
22
Major: 10
33
Minor: 0
4-
Revision: 1
4+
Revision: 2
55
BuildConfiguration: Release
66

77
name: $(Major).$(Minor).$(Revision)
@@ -25,7 +25,7 @@ steps:
2525
displayName: 'Use .NET 10.0 sdk'
2626
inputs:
2727
packageType: sdk
28-
version: 10.0.100
28+
version: 10.0.101
2929
installationPath: $(Agent.ToolsDirectory)/dotnet
3030
- script: echo Started restoring the source code
3131
- task: DotNetCoreCLI@2

examples/Xunit.Microsoft.DependencyInjection.ExampleTests/ConfigurationTestsWithoutAppsettings.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ public ConfigurationTestsWithoutAppsettings(ITestOutputHelper testOutputHelper,
1515
public void EnvironmentVariablesViaConstructorAreAvailable()
1616
{
1717
_fixture.GetServiceProvider(_testOutputHelper);
18-
1918
var value = _fixture.Configuration!.GetValue<string>(Key);
20-
2119
Assert.Equal(Value, value);
2220
}
2321
}

0 commit comments

Comments
 (0)