Merge pull request #5029 from racequite/master

chore: fix function names in comment
This commit is contained in:
Sebastiaan van Stijn 2024-05-17 10:11:20 +02:00 committed by GitHub
commit 4445e77025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ COPY data /data
assert.DeepEqual(t, expected, fakeBuild.filenames(t)) 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 // starting with `github.com/` are special-cased, and the build command attempts
// to clone the remote repo. // to clone the remote repo.
// TODO: test "context selection" logic directly when runBuild is refactored // 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") 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 // starting with `github.com` takes precedence over the `github.com` special
// case. // case.
func TestRunBuildFromLocalGitHubDir(t *testing.T) { func TestRunBuildFromLocalGitHubDir(t *testing.T) {