Home | History | Annotate | Download | only in regexp

Lines Matching refs:have

123 				t.Fatalf("%s:%d: out of sync: have %d strings left before %#q", file, lineno, len(input), q)
166 t.Fatalf("%s:%d: have %d test results, want %d", file, lineno, len(res), len(run))
169 have, suffix := run[i](re, refull, text)
171 if !same(have, want) {
172 t.Errorf("%s:%d: %#q%s.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, re, suffix, text, have, want)
196 t.Fatalf("%s:%d: out of sync: have %d strings left at EOF", file, lineno, len(input))
547 have := re.FindStringSubmatchIndex(text)
548 if (len(have) > 0) != match {
549 t.Errorf("%s:%d: %#q.Match(%#q) = %v, but %#q.FindSubmatchIndex(%#q) = %v", file, lineno, pattern, text, match, pattern, text, have)
552 if len(have) > len(pos) {
553 have = have[:len(pos)]
555 if !same(have, pos) {
556 t.Errorf("%s:%d: %#q.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, pattern, text, have, pos)