Skip to content

Commit be661b2

Browse files
committed
Fix json indentation
1 parent 48bf9c6 commit be661b2

File tree

1 file changed

+74
-74
lines changed

1 file changed

+74
-74
lines changed

src/test/scala/com/codacy/client/bitbucket/v2/UserSpecs.scala

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -54,84 +54,84 @@ class UserSpecs extends FlatSpec with Matchers {
5454
val input = """
5555
|[
5656
|{
57-
|"permission": "collaborator",
58-
|"type": "team_permission",
59-
|"user": {
60-
|"username": "jllopes",
61-
|"display_name": "João Lopes",
62-
|"account_id": "123asdfas87afsd8f9asd7as",
63-
|"links": {
64-
|"self": {
65-
|"href": "https://bitbucket.org/!api/2.0/users/jllopes"
66-
|},
67-
|"html": {
68-
|"href": "https://bitbucket.org/jllopes/"
69-
|},
70-
|"avatar": {
71-
|"href": "https://bitbucket.org/account/jllopes/avatar/"
72-
|}
73-
|},
74-
|"nickname": "jllopes",
75-
|"type": "user",
76-
|"uuid": "{42417371-64fe-4cde-b528-b7454e8a0aaf}"
77-
|},
78-
|"team": {
79-
|"username": "testteam1",
80-
|"display_name": "TestTeam1",
81-
|"type": "team",
82-
|"uuid": "{85ea8027-2a7f-4094-828d-f20c935d373a}",
83-
|"links": {
84-
|"self": {
85-
|"href": "https://bitbucket.org/!api/2.0/teams/testteam1"
57+
| "permission": "collaborator",
58+
| "type": "team_permission",
59+
| "user": {
60+
| "username": "jllopes",
61+
| "display_name": "João Lopes",
62+
| "account_id": "123asdfas87afsd8f9asd7as",
63+
| "links": {
64+
| "self": {
65+
| "href": "https://bitbucket.org/!api/2.0/users/jllopes"
66+
| },
67+
| "html": {
68+
| "href": "https://bitbucket.org/jllopes/"
69+
| },
70+
| "avatar": {
71+
| "href": "https://bitbucket.org/account/jllopes/avatar/"
72+
| }
73+
| },
74+
| "nickname": "jllopes",
75+
| "type": "user",
76+
| "uuid": "{42417371-64fe-4cde-b528-b7454e8a0aaf}"
8677
|},
87-
|"html": {
88-
|"href": "https://bitbucket.org/testteam1/"
89-
|},
90-
|"avatar": {
91-
|"href": "https://bitbucket.org/account/testteam1/avatar/"
92-
|}
93-
|}
94-
|}
78+
| "team": {
79+
| "username": "testteam1",
80+
| "display_name": "TestTeam1",
81+
| "type": "team",
82+
| "uuid": "{85ea8027-2a7f-4094-828d-f20c935d373a}",
83+
| "links": {
84+
| "self": {
85+
| "href": "https://bitbucket.org/!api/2.0/teams/testteam1"
86+
| },
87+
| "html": {
88+
| "href": "https://bitbucket.org/testteam1/"
89+
| },
90+
| "avatar": {
91+
| "href": "https://bitbucket.org/account/testteam1/avatar/"
92+
| }
93+
| }
94+
| }
9595
|},
9696
|{
97-
|"permission": "collaborator",
98-
|"type": "team_permission",
99-
|"user": {
100-
|"username": "jllopes",
101-
|"display_name": "João Lopes",
102-
|"account_id": "123asdfas87afsd8f9asd7as",
103-
|"links": {
104-
|"self": {
105-
|"href": "https://bitbucket.org/!api/2.0/users/jllopes"
106-
|},
107-
|"html": {
108-
|"href": "https://bitbucket.org/jllopes/"
109-
|},
110-
|"avatar": {
111-
|"href": "https://bitbucket.org/account/jllopes/avatar/"
112-
|}
113-
|},
114-
|"nickname": "jllopes",
115-
|"type": "user",
116-
|"uuid": "{42417371-64fe-4cde-b528-b7454e8a0aaf}"
97+
| "permission": "collaborator",
98+
| "type": "team_permission",
99+
| "user": {
100+
| "username": "jllopes",
101+
| "display_name": "João Lopes",
102+
| "account_id": "123asdfas87afsd8f9asd7as",
103+
| "links": {
104+
| "self": {
105+
| "href": "https://bitbucket.org/!api/2.0/users/jllopes"
106+
| },
107+
| "html": {
108+
| "href": "https://bitbucket.org/jllopes/"
109+
| },
110+
| "avatar": {
111+
| "href": "https://bitbucket.org/account/jllopes/avatar/"
112+
| }
113+
| },
114+
| "nickname": "jllopes",
115+
| "type": "user",
116+
| "uuid": "{42417371-64fe-4cde-b528-b7454e8a0aaf}"
117117
|},
118-
|"team": {
119-
|"username": "testteam2",
120-
|"display_name": "TestTeam2",
121-
|"type": "team",
122-
|"uuid": "{7ec1171b-3df1-4c00-bfcf-2d4eda99e44a}",
123-
|"links": {
124-
|"self": {
125-
|"href": "https://bitbucket.org/!api/2.0/teams/testteam2"
126-
|},
127-
|"html": {
128-
|"href": "https://bitbucket.org/testteam2/"
129-
|},
130-
|"avatar": {
131-
|"href": "https://bitbucket.org/account/testteam2/avatar/"
132-
|}
133-
|}
134-
|}
118+
| "team": {
119+
| "username": "testteam2",
120+
| "display_name": "TestTeam2",
121+
| "type": "team",
122+
| "uuid": "{7ec1171b-3df1-4c00-bfcf-2d4eda99e44a}",
123+
| "links": {
124+
| "self": {
125+
| "href": "https://bitbucket.org/!api/2.0/teams/testteam2"
126+
| },
127+
| "html": {
128+
| "href": "https://bitbucket.org/testteam2/"
129+
| },
130+
| "avatar": {
131+
| "href": "https://bitbucket.org/account/testteam2/avatar/"
132+
| }
133+
| }
134+
| }
135135
|}
136136
|]
137137
""".stripMargin

0 commit comments

Comments
 (0)