Update TelemetryOptOutDefaultTests.cs

This commit is contained in:
Marc Paine 2022-10-24 15:48:03 -07:00 committed by GitHub
parent d780b35afa
commit 1138045cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ namespace EndToEnd.Tests
[Fact] [Fact]
public void TelemetryOptOutDefaultAttribute() public void TelemetryOptOutDefaultAttribute()
{ {
var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", "7.0.100-dev"); var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", "7.0.100");
var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute"); var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute");
result.Should().Contain("TelemetryOptOutDefault:False"); result.Should().Contain("TelemetryOptOutDefault:False");
} }