@cryptotaxi247 / kubo / commits / 7279153a0

commands/cli: Add a test for 3e8244

License: MIT Signed-off-by: Thomas Gardner <tmg@fastmail.com>

Thomas Gardner committed Apr 16, 2016 at 12:22 UTC 7279153a0c8562143d82c8a3f7e48e8dd1543d93
1 file changed +1
commands/cli/parse_test.go
+1
@@ -134,6 +134,7 @@ func TestOptionParsing(t *testing.T) {
134 test("-b test false", kvs{"b": true}, words{"false"})
135 test("-b --string foo test bar", kvs{"b": true, "string": "foo"}, words{"bar"})
136 test("-b=false --string bar", kvs{"b": false, "string": "bar"}, words{})
137 + testFail("foo test")
138 }
139
140 func TestArgumentParsing(t *testing.T) {