From ac90304f4dd3820cf206d06cba16fa7d1e01f04e Mon Sep 17 00:00:00 2001 From: luozexuan Date: Tue, 1 Apr 2025 16:48:58 +0200 Subject: [PATCH] chore: fix some function names in comment (#24263) Signed-off-by: luozexuan --- x/upgrade/plan/downloader_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/upgrade/plan/downloader_test.go b/x/upgrade/plan/downloader_test.go index 16ef29585d..71ca767834 100644 --- a/x/upgrade/plan/downloader_test.go +++ b/x/upgrade/plan/downloader_test.go @@ -90,7 +90,7 @@ func (z TestZip) SaveAs(path string) error { return zipper.Close() } -// saveTestZip saves a TestZip in this test's Home/src directory with the given name. +// saveSrcTestZip saves a TestZip in this test's Home/src directory with the given name. // The full path to the saved archive is returned. func (s *DownloaderTestSuite) saveSrcTestZip(name string, z TestZip) string { fullName := filepath.Join(s.Home, "src", name) @@ -127,7 +127,7 @@ func requireFileEquals(t *testing.T, path string, tf *TestFile) { require.Equal(t, string(tf.Contents), string(file), "file contents") } -// makeFileUrl converts the given path to a URL with the correct checksum query parameter. +// makeFileURL converts the given path to a URL with the correct checksum query parameter. func makeFileURL(t *testing.T, path string) string { t.Helper() f, err := os.Open(path)