diff --git a/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.approve_public_api.approved.txt b/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.approve_public_api.approved.txt index 746484da8..5b8dc4827 100644 --- a/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.approve_public_api.approved.txt +++ b/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.approve_public_api.approved.txt @@ -1,5 +1,4 @@ [assembly: System.Resources.NeutralResourcesLanguageAttribute("en")] -[assembly: System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName="")] namespace Humanizer { public class static ByteSizeExtensions diff --git a/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.cs b/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.cs index c6d499cc9..0c8701f7f 100644 --- a/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.cs +++ b/src/Humanizer.Tests/ApiApprover/PublicApiApprovalTest.cs @@ -38,6 +38,7 @@ private static string Filter(string text) { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries) + .Where(l => !l.StartsWith("[assembly: System.Runtime.Versioning.TargetFrameworkAttribute(")) .Where(l => !l.StartsWith("[assembly: AssemblyVersion(")) .Where(l => !l.StartsWith("[assembly: AssemblyFileVersion(")) .Where(l => !l.StartsWith("[assembly: AssemblyInformationalVersion("))