chore: fix function names in comment (#20210)
Signed-off-by: luchenhan <hanluchen@aliyun.com>
This commit is contained in:
parent
cb50b4caa2
commit
d0f6cc6d40
@ -38,7 +38,7 @@ func ApplyMockIO(c *cobra.Command) (BufferReader, BufferWriter) {
|
||||
return mockIn, mockOut
|
||||
}
|
||||
|
||||
// ApplyMockIODiscardOutputs replaces a cobra.Command output and error streams with a dummy io.Writer.
|
||||
// ApplyMockIODiscardOutErr replaces a cobra.Command output and error streams with a dummy io.Writer.
|
||||
// Replaces and returns the io.Reader associated to the cobra.Command input stream.
|
||||
func ApplyMockIODiscardOutErr(c *cobra.Command) BufferReader {
|
||||
mockIn := strings.NewReader("")
|
||||
|
||||
@ -257,7 +257,7 @@ func (s *processTestSuite) TestLaunchProcessWithDownloads() {
|
||||
require.Equal(cfg.UpgradeBin("chain3"), currentBin)
|
||||
}
|
||||
|
||||
// TestCustomPreupgrade will try running the script a few times and watch upgrades work properly
|
||||
// TestLaunchProcessWithDownloadsAndMissingPreupgrade will try running the script a few times and watch upgrades work properly
|
||||
// and args are passed through
|
||||
func (s *processTestSuite) TestLaunchProcessWithDownloadsAndMissingPreupgrade() {
|
||||
// test case upgrade path (binaries from testdata/download directory):
|
||||
@ -293,7 +293,7 @@ func (s *processTestSuite) TestLaunchProcessWithDownloadsAndMissingPreupgrade()
|
||||
require.ErrorIs(err, fs.ErrNotExist)
|
||||
}
|
||||
|
||||
// TestCustomPreupgrade will try running the script a few times and watch upgrades work properly
|
||||
// TestLaunchProcessWithDownloadsAndPreupgrade will try running the script a few times and watch upgrades work properly
|
||||
// and args are passed through
|
||||
func (s *processTestSuite) TestLaunchProcessWithDownloadsAndPreupgrade() {
|
||||
// test case upgrade path (binaries from testdata/download directory):
|
||||
|
||||
@ -411,7 +411,7 @@ func ToSDKEvidence(ev []abci.Misbehavior) []comet.Evidence {
|
||||
return evidence
|
||||
}
|
||||
|
||||
// ToSDKDecidedCommitInfo takes comet commit info and returns sdk commit info
|
||||
// ToSDKCommitInfo takes comet commit info and returns sdk commit info
|
||||
func ToSDKCommitInfo(commit abci.CommitInfo) comet.CommitInfo {
|
||||
ci := comet.CommitInfo{
|
||||
Round: commit.Round,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user