We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 362b154 commit 1beffeaCopy full SHA for 1beffea
go/extractor/autobuilder/build-environment_test.go
@@ -54,3 +54,9 @@ func TestGetVersionToInstall(t *testing.T) {
54
}
55
56
57
+
58
+func TestMaxGoVersions(t *testing.T) {
59
+ if goVersionToInstall.IsNewerThan(maxGoVersion) {
60
+ t.Errorf("goVersionToInstall (%s) should not be newer than maxGoVersion (%s).", goVersionToInstall, maxGoVersion)
61
+ }
62
+}
0 commit comments