tags_test: include empty tag case
This commit is contained in:
parent
563e458c93
commit
74f7a1f303
@ -7,6 +7,7 @@ func TestParseTag_Name(t *testing.T) {
|
|||||||
tag string
|
tag string
|
||||||
has bool
|
has bool
|
||||||
}{
|
}{
|
||||||
|
{"", false},
|
||||||
{"name", true},
|
{"name", true},
|
||||||
{"name,opt", true},
|
{"name,opt", true},
|
||||||
{"name , opt, opt2", false}, // has a single whitespace
|
{"name , opt, opt2", false}, // has a single whitespace
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user