github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/crypto/boring/notboring_test.go (about)

     1  // Copyright 2020 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build (goexperiment.boringcrypto && !boringcrypto) || (!goexperiment.boringcrypto && boringcrypto)
     6  // +build goexperiment.boringcrypto,!boringcrypto !goexperiment.boringcrypto,boringcrypto
     7  
     8  package boring_test
     9  
    10  import "testing"
    11  
    12  func TestNotBoring(t *testing.T) {
    13  	t.Error("goexperiment.boringcrypto and boringcrypto should be equivalent build tags")
    14  }