From dccfd6e4d0ffebc3d986d47807d0a67356591443 Mon Sep 17 00:00:00 2001 From: racequite Date: Fri, 19 Apr 2024 12:24:42 +0800 Subject: [PATCH] chore: fix function names in comment Signed-off-by: racequite --- cli/command/image/build_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/command/image/build_test.go b/cli/command/image/build_test.go index e69df8f261..1548261b3d 100644 --- a/cli/command/image/build_test.go +++ b/cli/command/image/build_test.go @@ -116,7 +116,7 @@ COPY data /data assert.DeepEqual(t, expected, fakeBuild.filenames(t)) } -// TestRunBuildFromLocalGitHubDirNonExistingRepo tests that build contexts +// TestRunBuildFromGitHubSpecialCase tests that build contexts // starting with `github.com/` are special-cased, and the build command attempts // to clone the remote repo. // TODO: test "context selection" logic directly when runBuild is refactored @@ -132,7 +132,7 @@ func TestRunBuildFromGitHubSpecialCase(t *testing.T) { assert.ErrorContains(t, err, "docker-build-git") } -// TestRunBuildFromLocalGitHubDirNonExistingRepo tests that a local directory +// TestRunBuildFromLocalGitHubDir tests that a local directory // starting with `github.com` takes precedence over the `github.com` special // case. func TestRunBuildFromLocalGitHubDir(t *testing.T) {