From fe977f5d50acd204dac058a42f3c9b3f55dade78 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Thu, 3 Mar 2022 19:13:10 +0800 Subject: [PATCH] Update unit test. --- test/DotNetCore.CAP.Test/SnowflakeIdTest.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/DotNetCore.CAP.Test/SnowflakeIdTest.cs b/test/DotNetCore.CAP.Test/SnowflakeIdTest.cs index bc1c250..ad0269a 100644 --- a/test/DotNetCore.CAP.Test/SnowflakeIdTest.cs +++ b/test/DotNetCore.CAP.Test/SnowflakeIdTest.cs @@ -15,9 +15,6 @@ namespace DotNetCore.CAP.Test var result = instance.NextId(); var result2 = instance.NextId(); - Assert.IsType(result); - Assert.True(result > 0); - Assert.True(result.ToString().Length == long.MaxValue.ToString().Length); Assert.True(result2 - result == 1); }