Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaamano committed Mar 5, 2020
1 parent 6f9dd4c commit 931df54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2380,8 +2380,10 @@ func TestLinkSetMacvlanMode(t *testing.T) {

var actual MacvlanMode
switch l := result.(type) {
case *Macvlan: actual = l.Mode
case *Macvtap: actual = l.Macvlan.Mode
case *Macvlan:
actual = l.Mode
case *Macvtap:
actual = l.Macvlan.Mode
}

if actual != mode {
Expand Down

0 comments on commit 931df54

Please sign in to comment.