Merge in 'release/7.0.1xx' changes
This commit is contained in:
commit
f1d0366f0c
1 changed files with 7 additions and 1 deletions
|
@ -10,7 +10,13 @@ namespace EndToEnd.Tests
|
|||
[Fact]
|
||||
public void TelemetryOptOutDefaultAttribute()
|
||||
{
|
||||
var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", "7.0.101");
|
||||
var versionCommand = new DotnetCommand()
|
||||
.ExecuteWithCapturedOutput("--version");
|
||||
|
||||
var sdkVersion = versionCommand.StdOut.Trim();
|
||||
|
||||
var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", sdkVersion);
|
||||
|
||||
var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute");
|
||||
result.Should().Contain("TelemetryOptOutDefault:False");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue