From 9ebf6bd1e6c526e75bc969732266d4e3d2628c12 Mon Sep 17 00:00:00 2001 From: Tobias Guggenmos Date: Fri, 21 Feb 2020 13:36:57 +0100 Subject: [PATCH] Remove superfluous blank lines Signed-off-by: Tobias Guggenmos --- promql/functions_test.go | 4 ---- 1 file changed, 4 deletions(-) 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)) } - } }