Home | History | Annotate | Download | only in regexp

Lines Matching refs:have

122 				t.Fatalf("%s:%d: out of sync: have %d strings left before %#q", file, lineno, len(input), q)
165 t.Fatalf("%s:%d: have %d test results, want %d", file, lineno, len(res), len(run))
168 have, suffix := run[i](re, refull, text)
170 if !same(have, want) {
171 t.Errorf("%s:%d: %#q%s.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, re, suffix, text, have, want)
195 t.Fatalf("%s:%d: out of sync: have %d strings left at EOF", file, lineno, len(input))
546 have := re.FindStringSubmatchIndex(text)
547 if (len(have) > 0) != match {
548 t.Errorf("%s:%d: %#q.Match(%#q) = %v, but %#q.FindSubmatchIndex(%#q) = %v", file, lineno, pattern, text, match, pattern, text, have)
551 if len(have) > len(pos) {
552 have = have[:len(pos)]
554 if !same(have, pos) {
555 t.Errorf("%s:%d: %#q.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, pattern, text, have, pos)