diff --git a/src/runtime/internal/wasitest/tcpecho_test.go b/src/runtime/internal/wasitest/tcpecho_test.go index c56af2cc85d..c15da86f35e 100644 --- a/src/runtime/internal/wasitest/tcpecho_test.go +++ b/src/runtime/internal/wasitest/tcpecho_test.go @@ -44,9 +44,9 @@ func TestTCPEcho(t *testing.T) { subProcess.Env = append(os.Environ(), "GOOS=wasip1", "GOARCH=wasm") switch os.Getenv("GOWASIRUNTIME") { - case "wazero", "": + case "wazero": subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--listen="+host) - case "wasmtime": + case "wasmtime", "": subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--tcplisten="+host) default: t.Skip("WASI runtime does not support sockets")