Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: sdghchj <[email protected]>
  • Loading branch information
sdghchj committed Jan 17, 2024
1 parent d6f1f90 commit efb30fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func TestParser_ParseGeneralApiInfo(t *testing.T) {
"tokenUrl": "https://example.com/oauth/token",
"scopes": {
"admin": "Grants read and write access to administrative information",
"read": " Grants read access",
"read": "Grants read access",
"write": "Grants write access"
}
}
Expand Down Expand Up @@ -337,7 +337,7 @@ func TestParser_ParseGeneralApiInfoTemplated(t *testing.T) {
"tokenUrl": "https://example.com/oauth/token",
"scopes": {
"admin": "Grants read and write access to administrative information",
"read": " Grants read access",
"read": "Grants read access",
"write": "Grants write access"
}
}
Expand Down Expand Up @@ -1363,7 +1363,7 @@ func TestParseSimpleApi_ForSnakecase(t *testing.T) {
"tokenUrl": "https://example.com/oauth/token",
"scopes": {
"admin": "Grants read and write access to administrative information",
"read": " Grants read access",
"read": "Grants read access",
"write": "Grants write access"
}
}
Expand Down Expand Up @@ -1819,7 +1819,7 @@ func TestParseSimpleApi_ForLowerCamelcase(t *testing.T) {
"tokenUrl": "https://example.com/oauth/token",
"scopes": {
"admin": "Grants read and write access to administrative information",
"read": " Grants read access",
"read": "Grants read access",
"write": "Grants write access"
}
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/simple/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@
"tokenUrl": "https://example.com/oauth/token",
"scopes": {
"admin": "Grants read and write access to administrative information",
"read": " Grants read access",
"read": "Grants read access",
"write": "Grants write access"
}
}
Expand Down

0 comments on commit efb30fe

Please sign in to comment.