From 344b10b632f61dbbb517f53759836d3b0b67447f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Fri, 27 Jan 2023 21:33:07 +0000 Subject: [PATCH] drop unrequired params for interop tests --- multidim-interop/go/v0.22/main.go | 4 ++-- multidim-interop/go/v0.23/main.go | 4 ++-- multidim-interop/go/v0.24/main.go | 4 ++-- multidim-interop/src/generator.ts | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/multidim-interop/go/v0.22/main.go b/multidim-interop/go/v0.22/main.go index 76c75c971..98413dcf8 100644 --- a/multidim-interop/go/v0.22/main.go +++ b/multidim-interop/go/v0.22/main.go @@ -89,7 +89,7 @@ func main() { options = append(options, libp2p.Security(libp2ptls.ID, libp2ptls.New)) case "noise": options = append(options, libp2p.Security(noise.ID, noise.New)) - case "quic": + case "": default: panic("Unsupported secure channel") } @@ -99,7 +99,7 @@ func main() { options = append(options, libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport)) case "mplex": options = append(options, libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport)) - case "quic": + case "": default: panic("Unsupported muxer") } diff --git a/multidim-interop/go/v0.23/main.go b/multidim-interop/go/v0.23/main.go index 5b8ef32ec..e1d85bced 100644 --- a/multidim-interop/go/v0.23/main.go +++ b/multidim-interop/go/v0.23/main.go @@ -93,7 +93,7 @@ func main() { options = append(options, libp2p.Security(libp2ptls.ID, libp2ptls.New)) case "noise": options = append(options, libp2p.Security(noise.ID, noise.New)) - case "quic": + case "": default: panic("Unsupported secure channel") } @@ -103,7 +103,7 @@ func main() { options = append(options, libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport)) case "mplex": options = append(options, libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport)) - case "quic": + case "": default: panic("Unsupported muxer") } diff --git a/multidim-interop/go/v0.24/main.go b/multidim-interop/go/v0.24/main.go index 7a3ba2d6f..d40c41fce 100644 --- a/multidim-interop/go/v0.24/main.go +++ b/multidim-interop/go/v0.24/main.go @@ -96,7 +96,7 @@ func main() { options = append(options, libp2p.Security(libp2ptls.ID, libp2ptls.New)) case "noise": options = append(options, libp2p.Security(noise.ID, noise.New)) - case "quic": + case "": default: panic("Unsupported secure channel") } @@ -106,7 +106,7 @@ func main() { options = append(options, libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport)) case "mplex": options = append(options, libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport)) - case "quic": + case "": default: panic("Unsupported muxer") } diff --git a/multidim-interop/src/generator.ts b/multidim-interop/src/generator.ts index 26322680f..eb6582564 100644 --- a/multidim-interop/src/generator.ts +++ b/multidim-interop/src/generator.ts @@ -111,8 +111,8 @@ export async function buildTestSpecs(versions: Array): Promise): Promise