prometheus/promql/parser
Matthieu MOREL ab64966e9d
fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094)
* fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()"

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-10-06 16:35:29 +00:00
..
posrange Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
ast.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
functions.go promql: rename holt_winters to double_exponential_smoothing 2024-09-19 15:29:01 +02:00
generated_parser.y Modify parser for native histograms to allow negative values where supported 2024-09-09 14:37:58 +10:00
generated_parser.y.go Modify parser for native histograms to allow negative values where supported 2024-09-09 14:37:58 +10:00
lex.go Modify parser for native histograms to allow negative values where supported 2024-09-09 14:37:58 +10:00
lex_test.go Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688) 2024-08-29 16:42:35 +02:00
parse.go promqltest: add support for setting counter reset hint on histogram samples (#14537) 2024-07-31 09:53:05 +02:00
parse_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
prettier.go Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_rules.md Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_test.go Prettifier: Add spaces with non-callable keywords (#11005) 2022-07-15 00:09:56 +02:00
printer.go PromQL: add short string method 2024-09-03 14:15:58 +01:00
printer_test.go support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00