Skip to content

Commit 22783ab

Browse files
committed
testutils: update nightly lint test to use IsCustomOrAdhocBuild
The newer version of `cockroachdb/version` has renamed the method used in the nightly lint test to check for custom builds. This commit updates the method usage. Release note: none Epic: none
1 parent 8138e3f commit 22783ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/testutils/lint/nightly_lint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestNightlyLint(t *testing.T) {
2525
// TestHelpURLs checks that all help texts have a valid documentation URL.
2626
t.Run("TestHelpURLs", func(t *testing.T) {
2727
skip.UnderShort(t)
28-
if build.ParsedVersion().IsPrerelease() || build.ParsedVersion().IsCustomOrNightlyBuild() {
28+
if build.ParsedVersion().IsPrerelease() || build.ParsedVersion().IsCustomOrAdhocBuild() {
2929
skip.IgnoreLint(t, "pre-release or customized build")
3030
}
3131
if pkgSpecified {

0 commit comments

Comments
 (0)