Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <[email protected]>
  • Loading branch information
JmPotato committed Jun 1, 2022
1 parent d960d09 commit aeed164
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ func (suite *clientTestSuite) TestGetStore() {
suite.NoError(err)
suite.True(reflect.DeepEqual(offlineStore, n))

// Should return offline storetc.
// Should return offline stores.
contains := false
stores, err = suite.client.GetAllStores(context.Background())
suite.NoError(err)
Expand All @@ -1080,7 +1080,7 @@ func (suite *clientTestSuite) TestGetStore() {
suite.Equal(metapb.NodeState_Removing, n.GetNodeState())
suite.True(n.PhysicallyDestroyed)
}
// Should return tombstone storetc.
// Should return tombstone stores.
contains = false
stores, err = suite.client.GetAllStores(context.Background())
suite.NoError(err)
Expand All @@ -1093,7 +1093,7 @@ func (suite *clientTestSuite) TestGetStore() {
}
suite.True(contains)

// Should not return tombstone storetc.
// Should not return tombstone stores.
stores, err = suite.client.GetAllStores(context.Background(), pd.WithExcludeTombstone())
suite.NoError(err)
for _, store := range stores {
Expand Down

0 comments on commit aeed164

Please sign in to comment.