Skip to content

Commit

Permalink
AutoVerify api changes (#1287)
Browse files Browse the repository at this point in the history
diff
  • Loading branch information
SimonCropp authored Oct 28, 2021
1 parent 4d36f00 commit aa6a149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/Sentry.Testing/ApiExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public static Task CheckApproval(this Assembly assembly, [CallerFilePath] string
var generatorOptions = new ApiGeneratorOptions { WhitelistedNamespacePrefixes = new[] { "Sentry" } };
var apiText = assembly.GeneratePublicApi(generatorOptions);
return Verifier.Verify(apiText, null, filePath)
.AutoVerify()
.UniqueForTargetFrameworkAndVersion()
.ScrubEmptyLines()
.ScrubLines(l =>
Expand Down

0 comments on commit aa6a149

Please sign in to comment.