From dae02528575922c9d233386a6156521b1d4d0aa5 Mon Sep 17 00:00:00 2001 From: Manfred Touron <94029+moul@users.noreply.github.com> Date: Wed, 1 Jul 2020 14:10:50 +0200 Subject: [PATCH] chore: small fix for build on windows --- testserver_unsupported.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testserver_unsupported.go diff --git a/testserver_unsupported.go b/testserver_unsupported.go new file mode 100644 index 0000000..0f503cf --- /dev/null +++ b/testserver_unsupported.go @@ -0,0 +1,14 @@ +// +build windows + +package main + +import ( + "fmt" + + "github.com/urfave/cli" +) + +// testServer is an hidden handler used for integration tests +func testServer(c *cli.Context) error { + return fmt.Errorf("not available on windows") +}