Skip to content

Commit a71a766

Browse files
committed
PR feedback
1 parent 6f95740 commit a71a766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/LogRecordDataAssert.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ public LogRecordDataAssert hasInstrumentationScope(
8484
return this;
8585
}
8686

87-
/** Asserts the log has the given epoch {@code timestamp}. */
87+
/** Asserts the log has the given epoch {@code eventName}. */
8888
public LogRecordDataAssert hasEventName(String eventName) {
8989
isNotNull();
9090
if (!eventName.equals(actual.getEventName())) {
9191
failWithActualExpectedAndMessage(
9292
actual.getEventName(),
9393
eventName,
94-
"Expected log to have eventName <%s> nanos but was <%s>",
94+
"Expected log to have eventName <%s> but was <%s>",
9595
eventName,
9696
actual.getEventName());
9797
}

0 commit comments

Comments
 (0)