Home | History | Annotate | Download | only in xml

Lines Matching refs:have

287 		have, err := d.RawToken()
292 if !reflect.DeepEqual(have, want) {
294 if _, ok := have.(CharData); ok {
295 shave = fmt.Sprintf("CharData(%q)", have)
297 shave = fmt.Sprintf("%#v", have)
310 t.Errorf("token %d: position [%d,%d) for %T is before previous token", i, start, end, have)
316 t.Errorf("token %d: position [%d,%d) for %T is empty", i, start, end, have)
318 t.Errorf("token %d: position [%d,%d) for %T extends beyond input", i, start, end, have)
322 t.Errorf("token %d: misaligned raw token %#q for %T", i, text, have)
365 have, err := d.Token()
369 if !reflect.DeepEqual(have, want) {
370 t.Errorf("token %d = %#v want %#v", i, have, want)
380 have, err := d.Token()
384 if !reflect.DeepEqual(have, want) {
385 t.Errorf("token %d = %#v want %#v", i, have, want)
479 t.Errorf("have %+v want %+v", a, all)
584 t.Error("SyntaxError didn't have correct line number.")
704 have, err := d.Token()
708 if !reflect.DeepEqual(have, want) {
709 t.Errorf("token %d = %#v want %#v", i, have, want)
724 t.Errorf("have %v, want %v", err, expectErr)
734 t.Fatalf("have %v, want nil", err)
739 t.Errorf("have %v, want %v", text, expected)