package wand import "testing" func TestShortForm(t *testing.T) { t.Run( "undefined short form", testExec( testCase{ impl: ShortForm(Command("foo", func(struct{ Foo int }) {}), "f", "foo", "b"), command: "foo -b", }, "option not supported", ), ) }