Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
test: fix wasm test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jul 15, 2021
1 parent 70c48cc commit b987381
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion browser_integration_native_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ import (
ma "github.com/multiformats/go-multiaddr"
)

func goexe() string {
if runtime.GOOS == "windows" {
return ".exe"
}
return ""
}

var (
wasmBrowserTestBin = "wasmbrowsertest"
wasmBrowserTestBin = "wasmbrowsertest" + goexe()
wasmBrowserTestDir = filepath.Join("tools", "bin")
wasmBrowserTestPackage = "github.com/agnivade/wasmbrowsertest"
)
Expand Down

0 comments on commit b987381

Please sign in to comment.