leaktestfe_disable_test.go 554 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright © 2021 Jeffrey H. Johnson <trnsz@pobox.com>.
  2. // Copyright © 2021 Gridfinity, LLC.
  3. // Copyright © 2019 The Go Authors.
  4. //
  5. // All rights reserved.
  6. //
  7. // Use of this source code is governed by the BSD-style
  8. // license that can be found in the LICENSE file.
  9. //go:build !leaktest || purego
  10. // +build !leaktest purego
  11. package leaktestfe_test
  12. import (
  13. "testing"
  14. ltfe "github.com/johnsonjh/leaktestfe"
  15. )
  16. // TestLeakPlugOff -> Disabled
  17. func TestLeakPlugOff(
  18. t *testing.T,
  19. ) {
  20. t.Log(
  21. "leaktestfe: disabled",
  22. )
  23. ltfe.Leakplug(
  24. t,
  25. )
  26. }