diff --git a/Directory.Packages.props b/Directory.Packages.props index 4de7f06b05..da1e624248 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -13,7 +13,7 @@ - + diff --git a/src/System.CommandLine.Tests/Help/ApprovalTests.Config.cs b/src/System.CommandLine.Tests/Help/ApprovalTests.Config.cs index 066c399874..bbf662f44f 100644 --- a/src/System.CommandLine.Tests/Help/ApprovalTests.Config.cs +++ b/src/System.CommandLine.Tests/Help/ApprovalTests.Config.cs @@ -1,12 +1,8 @@ -// Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768 -extern alias ApprovalTests; - -using ApprovalTests.ApprovalTests.Reporters; -using ApprovalTests.ApprovalTests.Reporters.TestFrameworks; +using ApprovalTests.Reporters; +using ApprovalTests.Reporters.TestFrameworks; // Use globally defined Reporter for ApprovalTests. Please see // https://github.com/approvals/ApprovalTests.Net/blob/master/docs/ApprovalTests/Reporters.md [assembly: UseReporter(typeof(FrameworkAssertReporter))] - -[assembly: ApprovalTests.ApprovalTests.Namers.UseApprovalSubdirectory("Approvals")] +[assembly: ApprovalTests.Namers.UseApprovalSubdirectory("Approvals")] diff --git a/src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs b/src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs index cfbc8cdcff..0cb2b097ce 100644 --- a/src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs +++ b/src/System.CommandLine.Tests/Help/HelpBuilderTests.Approval.cs @@ -1,13 +1,10 @@ // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. -// Alias workaround for https://github.com/approvals/ApprovalTests.Net/issues/768 -extern alias ApprovalTests; - using Xunit; using System.IO; -using ApprovalTests.ApprovalTests; -using ApprovalTests.ApprovalTests.Reporters; +using ApprovalTests; +using ApprovalTests.Reporters; namespace System.CommandLine.Tests.Help { diff --git a/src/System.CommandLine.Tests/System.CommandLine.Tests.csproj b/src/System.CommandLine.Tests/System.CommandLine.Tests.csproj index b18cdd74e6..a7695f0dc7 100644 --- a/src/System.CommandLine.Tests/System.CommandLine.Tests.csproj +++ b/src/System.CommandLine.Tests/System.CommandLine.Tests.csproj @@ -30,8 +30,7 @@ - - + @@ -42,6 +41,8 @@ + +