Home | History | Annotate | Download | only in regexp

Lines Matching full:lineno

84 	lineno := 0
95 for lineno := 1; scanner.Scan(); lineno++ {
99 t.Fatalf("%s:%d: unexpected blank line", file, lineno)
115 t.Fatalf("%s:%d: unquote %s: %v", file, lineno, line, err)
123 t.Fatalf("%s:%d: out of sync: have %d strings left before %#q", file, lineno, len(input), q)
131 t.Errorf("%s:%d: compile %#q: %v", file, lineno, q, err)
141 t.Fatalf("%s:%d: compile full %#q: %v", file, lineno, full, err)
152 t.Fatalf("%s:%d: out of sync: no input remaining", file, lineno)
166 t.Fatalf("%s:%d: have %d test results, want %d", file, lineno, len(res), len(run))
170 want := parseResult(t, file, lineno, res[i])
172 t.Errorf("%s:%d: %#q%s.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, re, suffix, text, have, want)
180 t.Errorf("%s:%d: %#q%s.MatchString(%#q) = %v, want %v", file, lineno, re, suffix, text, b, !b)
189 t.Fatalf("%s:%d: out of sync: %s\n", file, lineno, line)
193 t.Fatalf("%s:%d: %v", file, lineno, err)
196 t.Fatalf("%s:%d: out of sync: have %d strings left at EOF", file, lineno, len(input))
274 func parseResult(t *testing.T, file string, lineno int, res string) []int {
299 t.Fatalf("%s:%d: invalid pair %s", file, lineno, pair)
304 t.Fatalf("%s:%d: invalid pair %s", file, lineno, pair)
352 lineno := 0
356 lineno++
360 t.Errorf("%s:%d: %v", file, lineno, err)
382 t.Logf("%s:%d: skip: %s", file, lineno, line)
473 t.Errorf("%s:%d: too few fields: %s", file, lineno, line)
481 t.Errorf("%s:%d: cannot unquote %s", file, lineno, f)
485 t.Errorf("%s:%d: cannot unquote %s", file, lineno, f)
503 t.Errorf("%s:%d: cannot parse result %#q", file, lineno, field[3])
534 t.Errorf("%s:%d: %#q did not compile", file, lineno, pattern)
539 t.Errorf("%s:%d: %#q should not compile", file, lineno, pattern)
544 t.Errorf("%s:%d: %#q.Match(%#q) = %v, want %v", file, lineno, pattern, text, match, shouldMatch)
549 t.Errorf("%s:%d: %#q.Match(%#q) = %v, but %#q.FindSubmatchIndex(%#q) = %v", file, lineno, pattern, text, match, pattern, text, have)
556 t.Errorf("%s:%d: %#q.FindSubmatchIndex(%#q) = %v, want %v", file, lineno, pattern, text, have, pos)