From fe67a81f585b1aa0e7cc06ab0060544989628537 Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Wed, 8 Jan 2025 17:52:39 +0800 Subject: [PATCH] Appease codecov --- .../parser/syslog/syslogtest/data_test.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkg/stanza/operator/parser/syslog/syslogtest/data_test.go diff --git a/pkg/stanza/operator/parser/syslog/syslogtest/data_test.go b/pkg/stanza/operator/parser/syslog/syslogtest/data_test.go new file mode 100644 index 000000000000..cf0c72b91475 --- /dev/null +++ b/pkg/stanza/operator/parser/syslog/syslogtest/data_test.go @@ -0,0 +1,18 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package syslogtest + +import ( + "testing" + + "github.com/stretchr/testify/require" + + "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/operator/parser/syslog" +) + +func TestCreateCases(t *testing.T) { + cases, err := CreateCases(syslog.NewConfig) + require.NoError(t, err) + require.NotEmpty(t, cases) +}