Skip to content

Commit

Permalink
Fix WASM build
Browse files Browse the repository at this point in the history
Constant used by WASM+Go tests was in Go only file
  • Loading branch information
Sean-Der committed Mar 18, 2024
1 parent 2d7ced1 commit 26ba6df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import (
"github.com/stretchr/testify/require"
)

const localhostIPStr = "127.0.0.1"

type BadAddr struct{}

func (ba *BadAddr) Network() string {
Expand Down
2 changes: 2 additions & 0 deletions candidate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 26ba6df

Please sign in to comment.