@cryptotaxi247 / kubo / commits / 44059875b

skip cli parse tests on windows due to no stdin

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Oct 20, 2015 at 20:40 UTC 44059875b6c0adb7db7bd0dd382d69b6306e0e93
1 file changed +4
commands/cli/parse_test.go
+4
@@ -4,6 +4,7 @@ import (
4 "io"
5 "io/ioutil"
6 "os"
7 + "runtime"
8 "strings"
9 "testing"
10
@@ -132,6 +133,9 @@ func TestOptionParsing(t *testing.T) {
133 }
134
135 func TestArgumentParsing(t *testing.T) {
136 + if runtime.GOOS == "windows" {
137 + t.Skip("stdin handling doesnt yet work on windows")
138 + }
139 rootCmd := &commands.Command{
140 Subcommands: map[string]*commands.Command{
141 "noarg": {},