diff options
author | Yawning Angel <yawning@torproject.org> | 2014-10-24 22:02:23 +0000 |
---|---|---|
committer | Yawning Angel <yawning@torproject.org> | 2014-10-24 22:02:23 +0000 |
commit | 6ba5b4921feb66eaa40e1fa4056c7fb81e29f157 (patch) | |
tree | 41594d30bddcc230c59bbc14da578c6020e05e16 | |
parent | 4932821bda4c19e51581dce295166d801fd138da (diff) |
Fix minor issues pointed out by "go vet".
-rw-r--r-- | transports/obfs4/handshake_ntor_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/transports/obfs4/handshake_ntor_test.go b/transports/obfs4/handshake_ntor_test.go index 1903986..b575093 100644 --- a/transports/obfs4/handshake_ntor_test.go +++ b/transports/obfs4/handshake_ntor_test.go @@ -83,7 +83,7 @@ func TestHandshakeNtorClient(t *testing.T) { // Genrate what the server will send to the client. serverBlob, err := serverHs.generateHandshake() if err != nil { - t.Fatal("[%d:0]: serverHandshake.generateHandshake() failed: %s", l, err) + t.Fatalf("[%d:0]: serverHandshake.generateHandshake() failed: %s", l, err) } // Parse the server handshake message. @@ -173,7 +173,7 @@ func TestHandshakeNtorServer(t *testing.T) { // Genrate what the server will send to the client. serverBlob, err := serverHs.generateHandshake() if err != nil { - t.Fatal("[%d:1]: serverHandshake.generateHandshake() failed: %s", l, err) + t.Fatalf("[%d:1]: serverHandshake.generateHandshake() failed: %s", l, err) } // Parse the server handshake message. @@ -239,7 +239,7 @@ func TestHandshakeNtorServer(t *testing.T) { } serverBlob, err := serverHs.generateHandshake() if err != nil { - t.Fatal("serverHandshake.generateHandshake() (forced oversize) failed: %s", err) + t.Fatalf("serverHandshake.generateHandshake() (forced oversize) failed: %s", err) } _, _, err = clientHs.parseServerHandshake(serverBlob) if err == nil { |