diff --git a/rules/group_test.go b/rules/group_test.go index 3911640a82..ff1ef3d6c1 100644 --- a/rules/group_test.go +++ b/rules/group_test.go @@ -17,18 +17,9 @@ import ( "testing" "time" - "github.com/prometheus/common/promslog" "github.com/stretchr/testify/require" ) -func TestNewGroup(t *testing.T) { - g := NewGroup(GroupOptions{ - File: "test-file", - Name: "test-name", - }) - require.Equal(t, promslog.NewNopLogger().With("file", "test-file", "group", "test-name"), g.logger) -} - func TestGroup_Equals(t *testing.T) { tests := map[string]struct { first *Group