Skip to content

Commit 4804028

Browse files
committed
style(test): apply spotless formatting to testGetRaw assertion
1 parent 11ec190 commit 4804028

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

core/src/test/java/com/redis/vl/extensions/messagehistory/SemanticMessageHistoryIntegrationTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,12 @@ void testGetRaw() throws InterruptedException {
391391
// Raw should have entry_id - check any entry has it
392392
assertTrue(raw.stream().anyMatch(m -> m.get(ID_FIELD_NAME) != null));
393393
// Check user message exists with correct content
394-
assertTrue(raw.stream().anyMatch(m ->
395-
"user".equals(m.get(ROLE_FIELD_NAME)) && "first prompt".equals(m.get(CONTENT_FIELD_NAME))));
394+
assertTrue(
395+
raw.stream()
396+
.anyMatch(
397+
m ->
398+
"user".equals(m.get(ROLE_FIELD_NAME))
399+
&& "first prompt".equals(m.get(CONTENT_FIELD_NAME))));
396400
}
397401
}
398402

0 commit comments

Comments
 (0)