Explorar o código

Fix test on master (#860)

Nate Brown %!s(int64=2) %!d(string=hai) anos
pai
achega
b26c13336f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cert/cert_test.go

+ 1 - 1
cert/cert_test.go

@@ -281,7 +281,7 @@ func TestNebulaCertificate_VerifyP256(t *testing.T) {
 
 	v, err := c.Verify(time.Now(), caPool)
 	assert.False(t, v)
-	assert.EqualError(t, err, "certificate has been blocked")
+	assert.EqualError(t, err, "certificate is in the block list")
 
 	caPool.ResetCertBlocklist()
 	v, err = c.Verify(time.Now(), caPool)