tags_test: include empty tag case

This commit is contained in:
Fatih Arslan 2014-08-08 13:32:35 +03:00
parent 563e458c93
commit 74f7a1f303

View File

@ -7,6 +7,7 @@ func TestParseTag_Name(t *testing.T) {
tag string
has bool
}{
{"", false},
{"name", true},
{"name,opt", true},
{"name , opt, opt2", false}, // has a single whitespace