12345678910111213141516171819202122232425262728293031323334353637383940 |
- // Copyright 2020 Jeffrey H. Johnson.
- // Copyright 2020 Gridfinity, LLC.
- // Copyright 2012 The Go Authors.
- // All rights reserved.
- // Use of this source code is governed by the BSD-style
- // license that can be found in the leaktestfe/LICENSE file.
- package opendnsmyip // import "go.gridfinity.dev/opendnsmyip"
- import (
- "fmt"
- "testing"
- u "go.gridfinity.dev/leaktestfe"
- licn "go4.org/legal"
- )
- func TestLicense(
- t *testing.T,
- ) {
- defer u.Leakplug(
- t,
- )
- licenses := licn.Licenses()
- if len(
- licenses,
- ) == 0 {
- t.Fatal(
- "\nopendnsmyip_license_test.TestLicense.Licenses FAILURE",
- )
- } else {
- t.Log(
- fmt.Sprintf(
- "\n%v\n",
- licenses,
- ),
- )
- }
- }
|