mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Merge pull request #17048 from prymitive/parserErr
ENHANCEMENT: Refactor TestParseExpressions to be more explicit about errors
This commit is contained in:
commit
1c002c5669
2 changed files with 1735 additions and 1490 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -23,8 +23,8 @@ type Pos int
|
|||
|
||||
// PositionRange describes a position in the input string of the parser.
|
||||
type PositionRange struct {
|
||||
Start Pos
|
||||
End Pos
|
||||
Start Pos // Start of the range, zero-indexed.
|
||||
End Pos // End of the range, zero-indexed.
|
||||
}
|
||||
|
||||
// StartPosInput uses the query string to convert the PositionRange into a
|
||||
|
|
|
|||
Loading…
Reference in a new issue