File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed
src/System.CommandLine.Tests Expand file tree Collapse file tree 4 files changed +15
-7
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" />
16
+ <PackageVersion Include =" ApprovalTests" Version =" 7.0.0-beta.3 " />
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
- using ApprovalTests . Reporters ;
2
- using ApprovalTests . Reporters . TestFrameworks ;
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 ;
3
6
4
7
// Use globally defined Reporter for ApprovalTests. Please see
5
8
// https://github.com/approvals/ApprovalTests.Net/blob/master/docs/ApprovalTests/Reporters.md
6
9
7
10
[ assembly: UseReporter ( typeof ( FrameworkAssertReporter ) ) ]
8
- [ assembly: ApprovalTests . Namers . UseApprovalSubdirectory ( "Approvals" ) ]
11
+
12
+ [ assembly: ApprovalTests . 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
+
4
7
using Xunit ;
5
8
using System . IO ;
6
- using ApprovalTests ;
7
- using ApprovalTests . Reporters ;
9
+ using ApprovalTests . ApprovalTests ;
10
+ using ApprovalTests . ApprovalTests . Reporters ;
8
11
9
12
namespace System . CommandLine . Tests . Help
10
13
{
Original file line number Diff line number Diff line change 30
30
</ItemGroup >
31
31
32
32
<ItemGroup >
33
- <PackageReference Include =" ApprovalTests" />
33
+ <!-- Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768 -->
34
+ <PackageReference Include =" ApprovalTests" Aliases =" ApprovalTests" />
34
35
<PackageReference Include =" AwesomeAssertions" />
35
36
<PackageReference Include =" Newtonsoft.Json" />
36
37
<PackageReference Include =" Microsoft.DotNet.PlatformAbstractions" />
You can’t perform that action at this time.
0 commit comments