We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f95740 commit a71a766Copy full SHA for a71a766
sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/LogRecordDataAssert.java
@@ -84,14 +84,14 @@ public LogRecordDataAssert hasInstrumentationScope(
84
return this;
85
}
86
87
- /** Asserts the log has the given epoch {@code timestamp}. */
+ /** Asserts the log has the given epoch {@code eventName}. */
88
public LogRecordDataAssert hasEventName(String eventName) {
89
isNotNull();
90
if (!eventName.equals(actual.getEventName())) {
91
failWithActualExpectedAndMessage(
92
actual.getEventName(),
93
eventName,
94
- "Expected log to have eventName <%s> nanos but was <%s>",
+ "Expected log to have eventName <%s> but was <%s>",
95
96
actual.getEventName());
97
0 commit comments