Skip to content

Commit

Permalink
chore: fix function names in comment (cosmos#20210)
Browse files Browse the repository at this point in the history
Signed-off-by: luchenhan <[email protected]>
  • Loading branch information
luchenhan authored Apr 29, 2024
1 parent cb50b4c commit d0f6cc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion testutil/ioutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
Expand Down
4 changes: 2 additions & 2 deletions tools/cosmovisor/process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d0f6cc6

Please sign in to comment.