Skip to content

Commit 9442b6a

Browse files
committed
fix build testNestedModelCorrect
1 parent e5c7186 commit 9442b6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

common/common-protobuf/src/test/java/org/apache/servicecomb/codec/protobuf/schema/TestSchemaToProtoGenerator.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,15 @@ public void testNestedModelCorrect() {
220220
}
221221
222222
message DeptInfo {
223-
string name = 1;
224-
string code = 2;
223+
string code = 1;
224+
string name = 2;
225225
repeated ScoreInfo scores = 3;
226226
}
227227
228228
message UserInfo {
229-
repeated DeptInfo subDeptInfos = 1;
230-
repeated MapString extraInfos = 2;
231-
repeated ListListString nestedLists = 3;
229+
repeated MapString extraInfos = 1;
230+
repeated ListListString nestedLists = 2;
231+
repeated DeptInfo subDeptInfos = 3;
232232
}
233233
234234
//@WrapProperty

0 commit comments

Comments
 (0)