wand/lib_test.go

17 lines
277 B
Go
Raw Permalink Normal View History

2025-08-18 14:24:31 +02:00
package wand
2025-12-30 16:52:10 +01:00
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",
),
)
}