opendnsmyip_testutil_test.go 508 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright © 2021 Jeffrey H. Johnson. <trnsz@pobox.com>
  2. // Copyright © 2021 Gridfinity, LLC.
  3. // Copyright © 2020 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. package opendnsmyip_test
  10. import (
  11. "testing"
  12. u "github.com/johnsonjh/leaktestfe"
  13. )
  14. func TestLeakVerifyNoneDisabled(
  15. t *testing.T,
  16. ) {
  17. u.Leakplug(
  18. t,
  19. )
  20. }
  21. func TestLeakVerifyNoneEnabled(
  22. t *testing.T,
  23. ) {
  24. u.Leakplug(
  25. t,
  26. )
  27. }