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 215044a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func TestRootSpanData(t *testing.T) {
}

func TestSpanDataNilResource(t *testing.T) {
assert.NotPanics(t, func() {
assert.NotPanics(t, func() { // nolint:gofmt // Needed to not be interpreted as template cmd.
Spans(tracetest.SpanStubs{
{},
}.Snapshots())
Expand Down
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 215044a

Please sign in to comment.