aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/boring/notboring_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/boring/notboring_test.go')
-rw-r--r--src/crypto/boring/notboring_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/boring/notboring_test.go b/src/crypto/boring/notboring_test.go
index e69a3a93fd..ffe18e9109 100644
--- a/src/crypto/boring/notboring_test.go
+++ b/src/crypto/boring/notboring_test.go
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !boringcrypto
-// +build !boringcrypto
+//go:build (goexperiment.boringcrypto && !boringcrypto) || (!goexperiment.boringcrypto && boringcrypto)
+// +build goexperiment.boringcrypto,!boringcrypto !goexperiment.boringcrypto,boringcrypto
package boring_test
import "testing"
func TestNotBoring(t *testing.T) {
- t.Error("a file tagged !boringcrypto should not build under Go+BoringCrypto")
+ t.Error("goexperiment.boringcrypto and boringcrypto should be equivalent build tags")
}