Skip to content

Commit

Permalink
[FAB-17606] Fix the wrong word. Suported ---> Supported
Browse files Browse the repository at this point in the history
Signed-off-by: jilg <liguo_ji@outlook.com>
  • Loading branch information
Eggsyz authored and sykesm committed Mar 13, 2020
1 parent db2e930 commit 2671855
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions common/capabilities/channel_test.go
Expand Up @@ -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")
}
6 changes: 3 additions & 3 deletions common/capabilities/orderer_test.go
Expand Up @@ -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")
}

0 comments on commit 2671855

Please sign in to comment.