You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/InternalUtils_Tests.cs

17 lines
403 B

using Shouldly;
using Xunit;
namespace Volo.Abp.Auditing
{
public static class InternalUtils_Tests
{
[Fact]
public static void AddCounter()
{
InternalUtils.AddCounter("test").ShouldBe("test__2");
InternalUtils.AddCounter("test__2").ShouldBe("test__3");
InternalUtils.AddCounter("test__a").ShouldBe("test__a__2");
}
}
}