Skip to content

Commit

Permalink
Merge pull request #1 from 3xian/master
Browse files Browse the repository at this point in the history
Fix bugs.
  • Loading branch information
larrylv committed Aug 5, 2014
2 parents b626ec5 + 3528739 commit c8c3dd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion weibo/statuses.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Status struct {
Source *string `json:"source,omitempty"`
Favorited *bool `json:"favorited,omitempty"`
Truncated *bool `json:"truncated,omitempty"`
User *User `json:user,omitempty`
User *User `json:"user,omitempty"`
RepostsCount *int `json:"reposts_count,omitempty"`
CommentsCount *int `json:"comments_count,omitempty"`
AttitudesCount *int `json:"attitudes_count,omitemtpy"`
Expand Down
2 changes: 1 addition & 1 deletion weibo/weibo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func TestCheckResponse_noBody(t *testing.T) {
Response: res,
}
if !reflect.DeepEqual(err, want) {
t.Error("Error = %#v, want %#v", err, want)
t.Errorf("Error = %#v, want %#v", err, want)
}
}

Expand Down

0 comments on commit c8c3dd5

Please sign in to comment.