diff --git a/testutil/ioutil.go b/testutil/ioutil.go index 4413c16e215e..e786dd4fbaf2 100644 --- a/testutil/ioutil.go +++ b/testutil/ioutil.go @@ -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("") diff --git a/tools/cosmovisor/process_test.go b/tools/cosmovisor/process_test.go index 2ecea4cb780f..3169ba3e3082 100644 --- a/tools/cosmovisor/process_test.go +++ b/tools/cosmovisor/process_test.go @@ -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): diff --git a/types/context.go b/types/context.go index 2212301e163d..33ab2f9c6c3b 100644 --- a/types/context.go +++ b/types/context.go @@ -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,