diff --git a/common/capabilities/channel_test.go b/common/capabilities/channel_test.go index 98faf77cf14..0aa17769bb7 100644 --- a/common/capabilities/channel_test.go +++ b/common/capabilities/channel_test.go @@ -100,11 +100,11 @@ func TestChannelV20(t *testing.T) { assert.True(t, cp.OrgSpecificOrdererEndpoints()) } -func TestChannelNotSuported(t *testing.T) { +func TestChannelNotSupported(t *testing.T) { cp := NewChannelProvider(map[string]*cb.Capability{ - ChannelV1_1: {}, - ChannelV1_3: {}, - "Bogus_Not_suported": {}, + ChannelV1_1: {}, + ChannelV1_3: {}, + "Bogus_Not_Supported": {}, }) - assert.EqualError(t, cp.Supported(), "Channel capability Bogus_Not_suported is required but not supported") + assert.EqualError(t, cp.Supported(), "Channel capability Bogus_Not_Supported is required but not supported") } diff --git a/common/capabilities/orderer_test.go b/common/capabilities/orderer_test.go index 957b9206571..c9783385bd2 100644 --- a/common/capabilities/orderer_test.go +++ b/common/capabilities/orderer_test.go @@ -60,9 +60,9 @@ func TestOrdererV20(t *testing.T) { assert.True(t, op.ConsensusTypeMigration()) } -func TestNotSuported(t *testing.T) { +func TestNotSupported(t *testing.T) { op := NewOrdererProvider(map[string]*cb.Capability{ - OrdererV1_1: {}, OrdererV2_0: {}, "Bogus_Not_suported": {}, + OrdererV1_1: {}, OrdererV2_0: {}, "Bogus_Not_Supported": {}, }) - assert.EqualError(t, op.Supported(), "Orderer capability Bogus_Not_suported is required but not supported") + assert.EqualError(t, op.Supported(), "Orderer capability Bogus_Not_Supported is required but not supported") }