Skip to content

Commit 967f8f0

Browse files
committed
unit test
1 parent b9f0e8f commit 967f8f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/collector/otel_collector_plugin_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,8 @@ func TestCollector_writeRunningConfig(t *testing.T) {
10381038
ResolverSettings: confmap.ResolverSettings{},
10391039
},
10401040
},
1041-
writeConfigErr: errors.New("unable to create resolver: invalid 'confmap.ResolverSettings' configuration: no URIs"),
1041+
writeConfigErr: errors.New("unable to create resolver: invalid " +
1042+
"'confmap.ResolverSettings' configuration: no URIs"),
10421043
},
10431044
}
10441045

@@ -1063,7 +1064,6 @@ func TestCollector_writeRunningConfig(t *testing.T) {
10631064
} else {
10641065
assert.Equal(t, tt.writeConfigErr.Error(), writeErr.Error())
10651066
}
1066-
10671067
})
10681068
}
10691069
}

0 commit comments

Comments
 (0)