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 13
13
<!-- Runtime dependencies -->
14
14
<PackageVersion Include =" Microsoft.Bcl.Memory" Version =" 9.0.6" />
15
15
<!-- external dependencies -->
16
- <PackageVersion Include =" ApprovalTests" Version =" 7.0.0-beta.3 " />
16
+ <PackageVersion Include =" ApprovalTests" Version =" 7.0.0" />
17
17
<PackageVersion Include =" BenchmarkDotNet" Version =" 0.13.1" />
18
18
<PackageVersion Include =" AwesomeAssertions" Version =" 8.1.0" />
19
19
<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 ;
6
3
7
4
// Use globally defined Reporter for ApprovalTests. Please see
8
5
// https://github.com/approvals/ApprovalTests.Net/blob/master/docs/ApprovalTests/Reporters.md
9
6
10
7
[ 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 1
1
// Copyright (c) .NET Foundation and contributors. All rights reserved.
2
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
4
- // Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768
5
- extern alias ApprovalTests ;
6
-
7
4
using Xunit ;
8
5
using System . IO ;
9
- using ApprovalTests . ApprovalTests ;
10
- using ApprovalTests . ApprovalTests . Reporters ;
6
+ using ApprovalTests ;
7
+ using ApprovalTests . Reporters ;
11
8
12
9
namespace System . CommandLine . Tests . Help
13
10
{
Original file line number Diff line number Diff line change 30
30
</ItemGroup >
31
31
32
32
<ItemGroup >
33
- <!-- Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768 -->
34
- <PackageReference Include =" ApprovalTests" Aliases =" ApprovalTests" />
33
+ <PackageReference Include =" ApprovalTests" />
35
34
<PackageReference Include =" AwesomeAssertions" />
36
35
<PackageReference Include =" Newtonsoft.Json" />
37
36
<PackageReference Include =" Microsoft.DotNet.PlatformAbstractions" />
42
41
</ItemGroup >
43
42
44
43
<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" />
45
46
<PackageReference Include =" Microsoft.Bcl.Memory" />
46
47
<Reference Include =" Microsoft.CSharp" />
47
48
</ItemGroup >
You can’t perform that action at this time.
0 commit comments