Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukedirtwalker committed Nov 5, 2019
1 parent fcf7eed commit aadf9a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions go/lib/pathpol/acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestNewACL(t *testing.T) {
},
"No default entry": {
Entries: []*ACLEntry{
&ACLEntry{Action: Allow, Rule: mustHopPredicate(t, "1-0#0")},
{Action: Allow, Rule: mustHopPredicate(t, "1-0#0")},
},
ExpectedErr: ErrNoDefault,
},
Expand All @@ -45,8 +45,8 @@ func TestNewACL(t *testing.T) {
},
"Entry with hop predicates": {
Entries: []*ACLEntry{
&ACLEntry{Action: Allow, Rule: mustHopPredicate(t, "1-0#0")},
&ACLEntry{Action: Deny, Rule: mustHopPredicate(t, "0-0#0")},
{Action: Allow, Rule: mustHopPredicate(t, "1-0#0")},
{Action: Deny, Rule: mustHopPredicate(t, "0-0#0")},
},
},
}
Expand Down
3 changes: 2 additions & 1 deletion go/lib/pathpol/sequence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ import (
"testing"

"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"

"github.com/scionproto/scion/go/lib/addr"
"github.com/scionproto/scion/go/lib/xtest"
"github.com/stretchr/testify/assert"
)

func TestNewSequence(t *testing.T) {
Expand Down

0 comments on commit aadf9a8

Please sign in to comment.