Fix WASM build

Constant used by WASM+Go tests was in Go only file
This commit is contained in:
Sean DuBois
2024-03-18 19:59:32 -04:00
parent 2d7ced1d49
commit 26ba6dfea5
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -24,8 +24,6 @@ import (
"github.com/stretchr/testify/require"
)
const localhostIPStr = "127.0.0.1"
type BadAddr struct{}
func (ba *BadAddr) Network() string {
+2
View File
@@ -13,6 +13,8 @@ import (
"github.com/stretchr/testify/require"
)
const localhostIPStr = "127.0.0.1"
func TestCandidateTypePreference(t *testing.T) {
r := require.New(t)