Skip to content

Commit

Permalink
GH-135: Fixed issues detected by staticcheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirenius committed Nov 15, 2019
1 parent a66ed13 commit 55461b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions test/04call_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,9 @@ func TestLegacyCallOnResource(t *testing.T) {
for i, l := range tbl {
runNamedTest(t, fmt.Sprintf("#%d", i+1), func(s *Session) {
c := s.ConnectWithoutVersion()
var creq *ClientRequest

// Send client call request
creq = c.Request("call.test.model.method", params)
creq := c.Request("call.test.model.method", params)
s.GetRequest(t).
AssertSubject(t, "access.test.model").
RespondSuccess(json.RawMessage(`{"get":true,"call":"*"}`))
Expand Down
1 change: 0 additions & 1 deletion test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ type Session struct {
s *server.Service
conns map[*Conn]struct{}
*CountLogger
version string
}

func setup(t *testing.T, cfgs ...func(*server.Config)) *Session {
Expand Down

0 comments on commit 55461b7

Please sign in to comment.