Source file src/crypto/boring/notboring_test.go

     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  }
    15  

View as plain text