Skip to content

Commit

Permalink
build(deps): bump PublicApiGenerator from 10.3.0 to 11.0.0 in /src (#520
Browse files Browse the repository at this point in the history
)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Pulman <[email protected]>
  • Loading branch information
dependabot[bot] and ChrisPulman authored Apr 19, 2023
1 parent 14b9061 commit 91ad6e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/ReactiveUI.Validation.Tests/API/ApiApprovalTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private static void CheckApproval(Assembly assembly, [CallerMemberName]string me

var approvedPublicApi = File.ReadAllText(approvedFileName);

var generatorOptions = new ApiGeneratorOptions { WhitelistedNamespacePrefixes = new[] { "ReactiveUI.Validation" } };
var generatorOptions = new ApiGeneratorOptions { AllowNamespacePrefixes = new[] { "ReactiveUI.Validation" } };
var receivedPublicApi = Filter(assembly.GeneratePublicApi(generatorOptions));

if (!string.Equals(receivedPublicApi, approvedPublicApi, StringComparison.InvariantCulture))
Expand All @@ -80,4 +80,4 @@ private static string Filter(string text)
!l.StartsWith("[assembly: AssemblyInformationalVersion(", StringComparison.InvariantCulture) &&
!string.IsNullOrWhiteSpace(l)));
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="MSBuild.Sdk.Extras">
<Project Sdk="MSBuild.Sdk.Extras">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
Expand All @@ -15,14 +15,14 @@
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="Xunit.StaFact" Version="1.1.11" />
<PackageReference Include="Microsoft.Reactive.Testing" Version="5.0.0" />
<PackageReference Include="PublicApiGenerator" Version="10.3.0" />
<PackageReference Include="PublicApiGenerator" Version="11.0.0" />
<PackageReference Include="xunit.runner.console" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="DiffEngine" Version="11.2.0" />
<PackageReference Include="DiffEngine" Version="11.3.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 91ad6e2

Please sign in to comment.