Skip to content

Commit

Permalink
spelling error and updated package formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlesworth committed May 19, 2017
1 parent d9497b7 commit 16276c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client.go
Expand Up @@ -217,7 +217,7 @@ func (c *Client) TriggerBatch(batch []Event) (*BufferedEvents, error) {
}

/*
One can use this method to get a list of all the channels in an applicaiton.
One can use this method to get a list of all the channels in an application.
The parameter `additionalQueries` is a map with query options. A key with `"filter_by_prefix"`
will filter the returned channels. To get number of users subscribed to a presence-channel,
Expand Down
3 changes: 2 additions & 1 deletion client_test.go
Expand Up @@ -2,14 +2,15 @@ package pusher

import (
"fmt"
"github.com/stretchr/testify/assert"
"io/ioutil"
"net/http"
"net/http/httptest"
"net/url"
"os"
"testing"
"time"

"github.com/stretchr/testify/assert"
)

func TestTriggerSuccessCase(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion response_parsing_test.go
@@ -1,8 +1,9 @@
package pusher

import (
"github.com/stretchr/testify/assert"
"testing"

"github.com/stretchr/testify/assert"
)

func TestParsingChannelsList(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion webhook_test.go
@@ -1,9 +1,10 @@
package pusher

import (
"github.com/stretchr/testify/assert"
"net/http"
"testing"

"github.com/stretchr/testify/assert"
)

func setUpClient() Client {
Expand Down

0 comments on commit 16276c3

Please sign in to comment.