diff --git a/agent/consul/state/acl_test.go b/agent/consul/state/acl_test.go index c066e21a2..58c69f743 100644 --- a/agent/consul/state/acl_test.go +++ b/agent/consul/state/acl_test.go @@ -2728,7 +2728,7 @@ func TestStateStore_ACLRole_Delete(t *testing.T) { t.Parallel() s := testACLStateStore(t) - // deletion of non-existant roles is not an error + // deletion of non-existent roles is not an error require.NoError(t, s.ACLRoleDeleteByName(3, "not-found")) require.NoError(t, s.ACLRoleDeleteByID(3, testRoleID_A)) }) @@ -3021,7 +3021,7 @@ func TestStateStore_ACLAuthMethod_Delete(t *testing.T) { t.Parallel() s := testACLStateStore(t) - // deletion of non-existant methods is not an error + // deletion of non-existent methods is not an error require.NoError(t, s.ACLAuthMethodDeleteByName(3, "not-found")) }) } @@ -3453,7 +3453,7 @@ func TestStateStore_ACLBindingRule_Delete(t *testing.T) { t.Parallel() s := testACLStateStore(t) - // deletion of non-existant rules is not an error + // deletion of non-existent rules is not an error require.NoError(t, s.ACLBindingRuleDeleteByID(3, "ed3ce1b8-3a16-4e2f-b82e-f92e3b92410d")) }) } diff --git a/agent/consul/state/catalog_test.go b/agent/consul/state/catalog_test.go index 8180ac60f..9e5a15757 100644 --- a/agent/consul/state/catalog_test.go +++ b/agent/consul/state/catalog_test.go @@ -3884,7 +3884,7 @@ func TestStateStore_ensureServiceCASTxn(t *testing.T) { require.NoError(t, err) tx.Commit() - // ensure no update happend + // ensure no update happened tx = s.db.Txn(false) _, nsRead, err = s.NodeService("node1", "foo") require.NoError(t, err)