You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
Add the golines golangci-lint formatter (#6513)
Ensure consistent line wrapping (<= 120 characters) within the project.
This commit is contained in:
@@ -24,7 +24,11 @@ func AssertRecordEqual(t testing.TB, want, got log.Record) bool {
|
||||
return false
|
||||
}
|
||||
if !want.ObservedTimestamp().Equal(got.ObservedTimestamp()) {
|
||||
t.Errorf("ObservedTimestamp value is not equal:\nwant: %v\ngot: %v", want.ObservedTimestamp(), got.ObservedTimestamp())
|
||||
t.Errorf(
|
||||
"ObservedTimestamp value is not equal:\nwant: %v\ngot: %v",
|
||||
want.ObservedTimestamp(),
|
||||
got.ObservedTimestamp(),
|
||||
)
|
||||
return false
|
||||
}
|
||||
if want.Severity() != got.Severity() {
|
||||
|
||||
Reference in New Issue
Block a user