BililiveRecorder/test/BililiveRecorder.Flv.Tests/PublicApi.cs

19 lines
488 B
C#
Raw Normal View History

2022-05-16 23:36:30 +08:00
using System.Threading.Tasks;
using PublicApiGenerator;
using VerifyXunit;
using Xunit;
namespace BililiveRecorder.Flv.Tests
{
[UsesVerify]
public class PublicApi
{
[Fact]
public Task HasNoChangesAsync()
{
2023-01-14 23:00:40 +08:00
var publicApi = typeof(Tag).Assembly.GeneratePublicApi(new ApiGeneratorOptions { ExcludeAttributes = new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" } });
2022-05-16 23:36:30 +08:00
return Verifier.Verify(publicApi);
}
}
}