Skip to content

Commit bb98b5c

Browse files
fix: added more fields for test
1 parent abeaf63 commit bb98b5c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

core/test/generator_test.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ func TestRestServerGenerator(t *testing.T) {
383383
"fields": {
384384
"Name": "string",
385385
"Address": "string",
386-
"Age": "int32"
386+
"Age": "int",
387+
"Sign": "rune"
387388
},
388389
"name": "User"
389390
}
@@ -437,7 +438,11 @@ func TestGrpcServerGenerator(t *testing.T) {
437438
"fields": {
438439
"Name": "string",
439440
"RollNumber": "int32",
440-
"College": "string"
441+
"College": "string",
442+
"Sign": "rune",
443+
"Marks": "int",
444+
"GateScore": "uint",
445+
"IsPassed": "bool"
441446
},
442447
"name": "StudentModel"
443448
}

0 commit comments

Comments
 (0)