Skip to content

Commit

Permalink
Ignore lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Aug 1, 2023
1 parent 91e191c commit 596170f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions exporters/otlp/otlptrace/internal/tracetransform/span_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func TestSpanData(t *testing.T) {
// Empty parent span ID should be treated as root span.
func TestRootSpanData(t *testing.T) {
sd := Spans(tracetest.SpanStubs{
{},
{}, // nolint:gofmt // Needed to not be interpreted as template cmd.
}.Snapshots())
require.Len(t, sd, 1)
rs := sd[0]
Expand All @@ -330,7 +330,7 @@ func TestRootSpanData(t *testing.T) {
func TestSpanDataNilResource(t *testing.T) {
assert.NotPanics(t, func() {
Spans(tracetest.SpanStubs{
{},
{}, // nolint:gofmt // Needed to not be interpreted as template cmd.
}.Snapshots())
})
}
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func TestSpanData(t *testing.T) {
// Empty parent span ID should be treated as root span.
func TestRootSpanData(t *testing.T) {
sd := Spans(tracetest.SpanStubs{
{},
{}, // nolint:gofmt // Needed to not be interpreted as template cmd.
}.Snapshots())
require.Len(t, sd, 1)
rs := sd[0]
Expand All @@ -329,6 +329,6 @@ func TestRootSpanData(t *testing.T) {

func TestSpanDataNilResource(t *testing.T) {
assert.NotPanics(t, func() { Spans(tracetest.SpanStubs{
{},
{}, // nolint:gofmt // Needed to not be interpreted as template cmd.
}.Snapshots()) })
}

0 comments on commit 596170f

Please sign in to comment.