diff --git a/promql/functions_test.go b/promql/functions_test.go index 8af159de3..3ce30bfd6 100644 --- a/promql/functions_test.go +++ b/promql/functions_test.go @@ -63,19 +63,15 @@ func TestFunctionList(t *testing.T) { // Test that Functions and parser.Functions list the same functions for i := range FunctionCalls { _, ok := parser.Functions[i] - if !ok { panic(fmt.Sprintf("function %s exists in promql package, but not in parser package", i)) } - } for i := range parser.Functions { _, ok := FunctionCalls[i] - if !ok { panic(fmt.Sprintf("function %s exists in parser package, but not in promql package", i)) } - } }