Extend Tag for non-core decoders (Fixes #14)
This commit is contained in:
committed by
Alec Thomas
parent
6c80dd3f31
commit
886edb6f5a
@@ -276,14 +276,6 @@ func TestCommaInQuotes(t *testing.T) {
|
||||
require.Equal(t, "1,2", cli.Numbers)
|
||||
}
|
||||
|
||||
func TestUnknownKey(t *testing.T) {
|
||||
var cli struct {
|
||||
Numbers string `kong:"gak='hi'"`
|
||||
}
|
||||
_, err := New(&cli)
|
||||
require.Error(t, err)
|
||||
}
|
||||
|
||||
func TestBadString(t *testing.T) {
|
||||
var cli struct {
|
||||
Numbers string `kong:"default='yay'n"`
|
||||
|
||||
Reference in New Issue
Block a user