@@ -188,7 +188,7 @@ func TestClient_Modify(t *testing.T) {
188
188
modifyInput : ModifyInput {
189
189
AccessToken : "access-token" ,
190
190
Actions : []Action {
191
- {Name : ActionAdd , ItemID : "987" , Url : "https://github.com" , Title : "Github" },
191
+ {Name : ActionAdd , ItemID : "987" , URL : "https://github.com" , Title : "Github" },
192
192
{Name : ActionArchive , ItemID : "654" , Time : time .Now ().Unix ()},
193
193
{Name : ActionFavorite , ItemID : "321" , Time : time .Now ().Unix ()},
194
194
},
@@ -205,7 +205,7 @@ func TestClient_Modify(t *testing.T) {
205
205
modifyInput : ModifyInput {
206
206
AccessToken : "" ,
207
207
Actions : []Action {
208
- {Name : ActionAdd , ItemID : "987" , Url : "https://github.com" , Title : "Github" },
208
+ {Name : ActionAdd , ItemID : "987" , URL : "https://github.com" , Title : "Github" },
209
209
{Name : ActionArchive , ItemID : "654" , Time : time .Now ().Unix ()},
210
210
{Name : ActionFavorite , ItemID : "321" , Time : time .Now ().Unix ()},
211
211
},
@@ -235,7 +235,7 @@ func TestClient_Modify(t *testing.T) {
235
235
modifyInput : ModifyInput {
236
236
AccessToken : "access-token" ,
237
237
Actions : []Action {
238
- {Name : ActionAdd , ItemID : "987" , Url : "https://github.com" , Title : "Github" },
238
+ {Name : ActionAdd , ItemID : "987" , URL : "https://github.com" , Title : "Github" },
239
239
{Name : ActionArchive , ItemID : "654" , Time : time .Now ().Unix ()},
240
240
{Name : ActionFavorite , ItemID : "321" , Time : time .Now ().Unix ()},
241
241
},
@@ -293,9 +293,9 @@ func TestClient_Retrieving(t *testing.T) {
293
293
{
294
294
ID : "229279689" ,
295
295
ResolvedID : "229279689" ,
296
- GivenUrl : `http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview` ,
296
+ GivenURL : `http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview` ,
297
297
GivenTitle : `The Massive Ryder Cup Preview - The Triangle Blog - Grantland` ,
298
- ResolvedUrl : `http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview` ,
298
+ ResolvedURL : `http://www.grantland.com/blog/the-triangle/post/_/id/38347/ryder-cup-preview` ,
299
299
ResolvedTitle : `The Massive Ryder Cup Preview` ,
300
300
Favorite : "0" ,
301
301
Status : "0" ,
0 commit comments