Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-tw committed Oct 8, 2021
1 parent abd58af commit f2f9e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docparse/jsonschema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestFieldToProperty(t *testing.T) {
"deeper": {Reference: "a.refAnother"},
"docs": {Type: "string", Description: "This has some documentation!",
Required: []string{"docs"},
Enum: []string{"one", "two", "three"},
Enum: []string{"one", "two", "three", "four", "five", "six", "seven"},
},
}

Expand Down
3 changes: 2 additions & 1 deletion docparse/testdata/src/a/a.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ type foo struct {
deeper refAnother

// This has some documentation! {required}
// {enum: one two three}
// {enum: one two three
// four five six seven}
docs string
//m map[string]int
}
Expand Down

0 comments on commit f2f9e18

Please sign in to comment.