88)
99
1010func Test_Gen_PKCS1PrivateKey (t * testing.T ) {
11- assertError := cryptobin_test .AssertErrorT (t )
11+ assertError := cryptobin_test .AssertNoErrorT (t )
1212 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
1313
1414 gen := GenerateKey ("Bign256v1" )
@@ -26,7 +26,7 @@ func Test_Gen_PKCS1PrivateKey(t *testing.T) {
2626}
2727
2828func Test_Gen_PKCS8PrivateKey (t * testing.T ) {
29- assertError := cryptobin_test .AssertErrorT (t )
29+ assertError := cryptobin_test .AssertNoErrorT (t )
3030 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
3131
3232 gen := GenerateKey ("Bign256v1" )
@@ -44,7 +44,7 @@ func Test_Gen_PKCS8PrivateKey(t *testing.T) {
4444}
4545
4646func Test_PublickeyXY (t * testing.T ) {
47- assertError := cryptobin_test .AssertErrorT (t )
47+ assertError := cryptobin_test .AssertNoErrorT (t )
4848 assertEqual := cryptobin_test .AssertEqualT (t )
4949 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
5050
@@ -70,7 +70,7 @@ func Test_PublickeyXY(t *testing.T) {
7070}
7171
7272func Test_PublickeyXY_2 (t * testing.T ) {
73- assertError := cryptobin_test .AssertErrorT (t )
73+ assertError := cryptobin_test .AssertNoErrorT (t )
7474 assertEqual := cryptobin_test .AssertEqualT (t )
7575 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
7676
@@ -96,7 +96,7 @@ func Test_PublickeyXY_2(t *testing.T) {
9696}
9797
9898func Test_PublickeyXY_String (t * testing.T ) {
99- assertError := cryptobin_test .AssertErrorT (t )
99+ assertError := cryptobin_test .AssertNoErrorT (t )
100100 assertEqual := cryptobin_test .AssertEqualT (t )
101101 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
102102
@@ -117,7 +117,7 @@ func Test_PublickeyXY_String(t *testing.T) {
117117}
118118
119119func Test_PublickeyXY_Bytes (t * testing.T ) {
120- assertError := cryptobin_test .AssertErrorT (t )
120+ assertError := cryptobin_test .AssertNoErrorT (t )
121121 assertEqual := cryptobin_test .AssertEqualT (t )
122122 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
123123
@@ -140,7 +140,7 @@ func Test_PublickeyXY_Bytes(t *testing.T) {
140140}
141141
142142func Test_PrivateKeyD (t * testing.T ) {
143- assertError := cryptobin_test .AssertErrorT (t )
143+ assertError := cryptobin_test .AssertNoErrorT (t )
144144 assertEqual := cryptobin_test .AssertEqualT (t )
145145 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
146146
@@ -160,7 +160,7 @@ func Test_PrivateKeyD(t *testing.T) {
160160}
161161
162162func Test_PrivateKey_Bytes (t * testing.T ) {
163- assertError := cryptobin_test .AssertErrorT (t )
163+ assertError := cryptobin_test .AssertNoErrorT (t )
164164 assertEqual := cryptobin_test .AssertEqualT (t )
165165 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
166166
@@ -182,7 +182,7 @@ func Test_PrivateKey_Bytes(t *testing.T) {
182182}
183183
184184func Test_GetPrivateKeyString (t * testing.T ) {
185- assertError := cryptobin_test .AssertErrorT (t )
185+ assertError := cryptobin_test .AssertNoErrorT (t )
186186 assertEqual := cryptobin_test .AssertEqualT (t )
187187 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
188188
@@ -232,7 +232,7 @@ func Test_CreatePKCS1PrivateKeyWithPassword(t *testing.T) {
232232
233233func test_CreatePKCS1PrivateKeyWithPassword (t * testing.T , cipher string ) {
234234 assertEqual := cryptobin_test .AssertEqualT (t )
235- assertError := cryptobin_test .AssertErrorT (t )
235+ assertError := cryptobin_test .AssertNoErrorT (t )
236236 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
237237
238238 t .Run (cipher , func (t * testing.T ) {
@@ -264,7 +264,7 @@ func test_CreatePKCS1PrivateKeyWithPassword(t *testing.T, cipher string) {
264264}
265265
266266func Test_PKCS8PrivateKey_Der (t * testing.T ) {
267- assertError := cryptobin_test .AssertErrorT (t )
267+ assertError := cryptobin_test .AssertNoErrorT (t )
268268 assertEqual := cryptobin_test .AssertEqualT (t )
269269 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
270270
@@ -286,7 +286,7 @@ func Test_PKCS8PrivateKey_Der(t *testing.T) {
286286}
287287
288288func Test_PKCS1PrivateKey_Der (t * testing.T ) {
289- assertError := cryptobin_test .AssertErrorT (t )
289+ assertError := cryptobin_test .AssertNoErrorT (t )
290290 assertEqual := cryptobin_test .AssertEqualT (t )
291291 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
292292
@@ -308,7 +308,7 @@ func Test_PKCS1PrivateKey_Der(t *testing.T) {
308308}
309309
310310func Test_PublicKey_Der (t * testing.T ) {
311- assertError := cryptobin_test .AssertErrorT (t )
311+ assertError := cryptobin_test .AssertNoErrorT (t )
312312 assertEqual := cryptobin_test .AssertEqualT (t )
313313 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
314314
@@ -366,8 +366,8 @@ func Test_SignWithEncoding(t *testing.T) {
366366
367367func test_SignWithEncoding (t * testing.T , encoding EncodingType ) {
368368 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
369- assertBool := cryptobin_test .AssertBoolT (t )
370- assertError := cryptobin_test .AssertErrorT (t )
369+ assertBool := cryptobin_test .AssertTrueT (t )
370+ assertError := cryptobin_test .AssertNoErrorT (t )
371371
372372 gen := GenerateKey ("Bign256v1" )
373373
@@ -400,7 +400,7 @@ func test_SignWithEncoding(t *testing.T, encoding EncodingType) {
400400}
401401
402402func Test_SignWithEncoding_Two_Check (t * testing.T ) {
403- assertError := cryptobin_test .AssertErrorT (t )
403+ assertError := cryptobin_test .AssertNoErrorT (t )
404404 assertNotEmpty := cryptobin_test .AssertNotEmptyT (t )
405405 assertNotEqual := cryptobin_test .AssertNotEqualT (t )
406406
0 commit comments