Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-07-30 14:14:27 +03:00
parent 18fad18163
commit f2e6b7540c

View File

@ -110,9 +110,6 @@ func TestTokenize(t *testing.T) {
if got, want := tokens, spec.tokens; !reflect.DeepEqual(got, want) { if got, want := tokens, spec.tokens; !reflect.DeepEqual(got, want) {
t.Errorf("tokenize(%q) = %q, _; want %q, _", spec.src, got, want) t.Errorf("tokenize(%q) = %q, _; want %q, _", spec.src, got, want)
} }
if got, want := verb, ""; got != want {
t.Errorf("tokenize(%q) = _, %q; want _, %q", spec.src, got, want)
}
switch { switch {
case spec.verb != "": case spec.verb != "":