Skip to content

Commit 87b7b0c

Browse files
committed
Refactor test for code style
Signed-off-by: WOONBE <[email protected]>
1 parent 67bcd5e commit 87b7b0c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* <https://www.apache.org/licenses/LICENSE-2.0>
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -29,11 +29,11 @@
2929
*
3030
* @author Heonwoo Kim
3131
*/
32-
class QdrantObjectFactoryTest {
32+
33+
class QdrantObjectFactoryTests {
3334

3435
@Test
3536
void toObjectMapShouldHandleNullValues() {
36-
3737
Map<String, Value> payloadWithNull = Map.of(
3838
"name", Value.newBuilder().setStringValue("Spring AI").build(),
3939
"version", Value.newBuilder().setDoubleValue(1.0).build(),
@@ -45,13 +45,10 @@ void toObjectMapShouldHandleNullValues() {
4545

4646

4747
assertThat(result).isNotNull();
48-
4948
assertThat(result).hasSize(4);
50-
5149
assertThat(result.get("name")).isEqualTo("Spring AI");
5250
assertThat(result.get("version")).isEqualTo(1.0);
5351
assertThat(result.get("is_ga")).isEqualTo(true);
54-
5552
assertThat(result).containsKey("description");
5653
assertThat(result.get("description")).isNull();
5754
}

0 commit comments

Comments
 (0)