Skip to content

Commit

Permalink
[FIX] StaticCheck yoda conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
sergivb01 committed Jun 4, 2020
1 parent 5754035 commit e5761c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proto/packet/handshake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestHandshake_EncodeForge(t *testing.T) {
return
}

if "server.com.tunnel.sergivos.dev" != dH.ServerAddress {
if dH.ServerAddress != "server.com.tunnel.sergivos.dev" {
t.Errorf("Mismatch error, expected %q but got %q", h.ServerAddress, dH.ServerAddress)
return
}
Expand Down

0 comments on commit e5761c8

Please sign in to comment.