Skip to content

Commit 44ad461

Browse files
committed
Format
1 parent ee0af20 commit 44ad461

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

test/framework/src/main/java/org/elasticsearch/test/ReadableMatchers.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import org.elasticsearch.common.time.DateFormatter;
1313
import org.elasticsearch.common.time.DateUtils;
14+
import org.hamcrest.Description;
1415
import org.hamcrest.TypeSafeMatcher;
1516

1617
import java.time.Instant;
@@ -51,12 +52,12 @@ public boolean matchesSafely(Long item) {
5152
}
5253

5354
@Override
54-
public void describeMismatchSafely(Long item, org.hamcrest.Description description) {
55+
public void describeMismatchSafely(Long item, Description description) {
5556
description.appendText("was ").appendValue(dateFormatter.formatMillis(item));
5657
}
5758

5859
@Override
59-
public void describeTo(org.hamcrest.Description description) {
60+
public void describeTo(Description description) {
6061
description.appendText(dateFormatter.formatMillis(timeMillis));
6162
}
6263
}
@@ -74,12 +75,12 @@ public boolean matchesSafely(Long item) {
7475
}
7576

7677
@Override
77-
public void describeMismatchSafely(Long item, org.hamcrest.Description description) {
78+
public void describeMismatchSafely(Long item, Description description) {
7879
description.appendText("was ").appendValue(dateFormatter.formatNanos(item));
7980
}
8081

8182
@Override
82-
public void describeTo(org.hamcrest.Description description) {
83+
public void describeTo(Description description) {
8384
description.appendText(dateFormatter.formatNanos(timeNanos));
8485
}
8586
}

x-pack/plugin/esql/qa/testFixtures/src/main/resources/bucket.csv-spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ FROM employees
10001000
| LIMIT 5
10011001
;
10021002

1003-
hire_date:date | bucketHours:date | bucketDay:date
1003+
hire_date:date | bucketHours:date | bucketDay:date
10041004
1985-02-18T00:00:00.000Z | 1985-02-17T22:00:00.000Z | 1985-02-17T19:00:00.000Z
10051005
1985-02-24T00:00:00.000Z | 1985-02-23T22:00:00.000Z | 1985-02-23T19:00:00.000Z
10061006
1985-05-13T00:00:00.000Z | 1985-05-12T22:00:00.000Z | 1985-05-12T19:00:00.000Z

0 commit comments

Comments
 (0)