Skip to content

Commit

Permalink
Remove extraneous comment and fix incorrect printf verb
Browse files Browse the repository at this point in the history
  • Loading branch information
ChimeraCoder committed Dec 24, 2014
1 parent f4b846c commit c2d27e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tweets.go
Expand Up @@ -18,7 +18,6 @@ func (a TwitterApi) GetTweet(id int64, v url.Values) (tweet Tweet, err error) {
func (a TwitterApi) GetTweetsLookupByIds(ids []int64, v url.Values) (tweet []Tweet, err error) {
var pids string
for w, i := range ids {
//pids += strconv.Itoa(i)
pids += strconv.FormatInt(i, 10)
if w != len(ids)-1 {
pids += ","
Expand Down
2 changes: 1 addition & 1 deletion twitter_test.go
Expand Up @@ -258,7 +258,7 @@ func Test_TwitterApi_Throttling(t *testing.T) {
after := time.Now()

if difference := after.Sub(now); difference < MIN_DELAY {
t.Errorf("Expected delay of at least %d. Actual delay: %s", MIN_DELAY.String(), difference.String())
t.Errorf("Expected delay of at least %s. Actual delay: %s", MIN_DELAY.String(), difference.String())
}

// Reset the delay to its previous value
Expand Down

0 comments on commit c2d27e7

Please sign in to comment.