Skip to content

Commit

Permalink
spotlessJavaCheck
Browse files Browse the repository at this point in the history
Signed-off-by: uri.nudelman <[email protected]>
  • Loading branch information
uriofferup committed Aug 19, 2024
1 parent 264b3aa commit 949779d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ public void toBuilder() {
@Test
public void cancelAfterTimeInterval() {
Time cancelAfterTimeInterval = Time.of(ti -> ti.time("1000ms"));
MsearchRequest request = new MsearchRequest.Builder()
.index("index")
.searches(Collections.emptyList())
.cancelAfterTimeInterval(cancelAfterTimeInterval).build();
MsearchRequest request = new MsearchRequest.Builder().index("index")
.searches(Collections.emptyList())
.cancelAfterTimeInterval(cancelAfterTimeInterval)
.build();

assertEquals("[]", toJson(request));
assertEquals(cancelAfterTimeInterval, request.cancelAfterTimeInterval());
Expand Down

0 comments on commit 949779d

Please sign in to comment.