Skip to content

Commit 1f91102

Browse files
committed
Spotless
Signed-off-by: b4sjoo <sicheng.song@outlook.com>
1 parent b639ffc commit 1f91102

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

plugin/src/test/java/org/opensearch/ml/utils/MLNodeUtilsTests.java

+18-18
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,24 @@ public void testValidateSchema() throws IOException {
6969
@Test
7070
public void testValidateEmbeddingInputWithRemoteSchema() throws IOException {
7171
String schema = "{\n"
72-
+ " \"type\": \"object\",\n"
73-
+ " \"properties\": {\n"
74-
+ " \"parameters\": {\n"
75-
+ " \"type\": \"object\",\n"
76-
+ " \"properties\": {\n"
77-
+ " \"texts\": {\n"
78-
+ " \"type\": \"array\",\n"
79-
+ " \"items\": {\n"
80-
+ " \"type\": \"string\"\n"
81-
+ " }\n"
82-
+ " }\n"
83-
+ " },\n"
84-
+ " \"required\": [\n"
85-
+ " \"texts\"\n"
86-
+ " ]\n"
87-
+ " }\n"
88-
+ " }\n"
89-
+ "}";
72+
+ " \"type\": \"object\",\n"
73+
+ " \"properties\": {\n"
74+
+ " \"parameters\": {\n"
75+
+ " \"type\": \"object\",\n"
76+
+ " \"properties\": {\n"
77+
+ " \"texts\": {\n"
78+
+ " \"type\": \"array\",\n"
79+
+ " \"items\": {\n"
80+
+ " \"type\": \"string\"\n"
81+
+ " }\n"
82+
+ " }\n"
83+
+ " },\n"
84+
+ " \"required\": [\n"
85+
+ " \"texts\"\n"
86+
+ " ]\n"
87+
+ " }\n"
88+
+ " }\n"
89+
+ "}";
9090
String json = "{\"text_docs\":[ \"today is sunny\", \"today is sunny\"]}";
9191
MLNodeUtils.validateSchema(schema, json);
9292
}

0 commit comments

Comments
 (0)