We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ea024 commit 70efe9fCopy full SHA for 70efe9f
src/crypto/x509/verify_test.go
@@ -1860,7 +1860,11 @@ func TestIssue51759(t *testing.T) {
1860
if runtime.GOOS != "darwin" {
1861
t.Skip("only affects darwin")
1862
}
1863
- if builder := testenv.Builder(); builder == "darwin-amd64-10_14" || builder == "darwin-amd64-10_15" {
+ builder := testenv.Builder()
1864
+ if builder == "" {
1865
+ t.Skip("only run this test on the builders, as we have no reasonable way to gate tests on macOS versions elsewhere")
1866
+ }
1867
+ if builder == "darwin-amd64-10_14" || builder == "darwin-amd64-10_15" {
1868
t.Skip("behavior only enforced in macOS 11 and after")
1869
1870
// badCertData contains a cert that we parse as valid
0 commit comments