File tree Expand file tree Collapse file tree 4 files changed +9
-15
lines changed
src/System.CommandLine.Tests Expand file tree Collapse file tree 4 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 1313 <!-- Runtime dependencies -->
1414 <PackageVersion Include =" Microsoft.Bcl.Memory" Version =" 9.0.6" />
1515 <!-- external dependencies -->
16- <PackageVersion Include =" ApprovalTests" Version =" 7.0.0-beta.3 " />
16+ <PackageVersion Include =" ApprovalTests" Version =" 7.0.0" />
1717 <PackageVersion Include =" BenchmarkDotNet" Version =" 0.13.1" />
1818 <PackageVersion Include =" AwesomeAssertions" Version =" 8.1.0" />
1919 <PackageVersion Include =" Microsoft.DotNet.PlatformAbstractions" Version =" 3.1.6" />
Original file line number Diff line number Diff line change 1- // Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768
2- extern alias ApprovalTests ;
3-
4- using ApprovalTests . ApprovalTests . Reporters ;
5- using ApprovalTests . ApprovalTests . Reporters . TestFrameworks ;
1+ using ApprovalTests . Reporters ;
2+ using ApprovalTests . Reporters . TestFrameworks ;
63
74// Use globally defined Reporter for ApprovalTests. Please see
85// https://github.com/approvals/ApprovalTests.Net/blob/master/docs/ApprovalTests/Reporters.md
96
107[ assembly: UseReporter ( typeof ( FrameworkAssertReporter ) ) ]
11-
12- [ assembly: ApprovalTests . ApprovalTests . Namers . UseApprovalSubdirectory ( "Approvals" ) ]
8+ [ assembly: ApprovalTests . Namers . UseApprovalSubdirectory ( "Approvals" ) ]
Original file line number Diff line number Diff line change 11// Copyright (c) .NET Foundation and contributors. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33
4- // Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768
5- extern alias ApprovalTests ;
6-
74using Xunit ;
85using System . IO ;
9- using ApprovalTests . ApprovalTests ;
10- using ApprovalTests . ApprovalTests . Reporters ;
6+ using ApprovalTests ;
7+ using ApprovalTests . Reporters ;
118
129namespace System . CommandLine . Tests . Help
1310{
Original file line number Diff line number Diff line change 3030 </ItemGroup >
3131
3232 <ItemGroup >
33- <!-- Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768 -->
34- <PackageReference Include =" ApprovalTests" Aliases =" ApprovalTests" />
33+ <PackageReference Include =" ApprovalTests" />
3534 <PackageReference Include =" AwesomeAssertions" />
3635 <PackageReference Include =" Newtonsoft.Json" />
3736 <PackageReference Include =" Microsoft.DotNet.PlatformAbstractions" />
4241 </ItemGroup >
4342
4443 <ItemGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETFramework'" >
44+ <!-- TODO: Remove System.Memory explicit package reference when the repo's version got updated to 4.6.3. -->
45+ <PackageReference Include =" System.Memory" VersionOverride =" 4.6.3" />
4546 <PackageReference Include =" Microsoft.Bcl.Memory" />
4647 <Reference Include =" Microsoft.CSharp" />
4748 </ItemGroup >
You can’t perform that action at this time.
0 commit comments