[Pkg-privacy-commits] [obfs4proxy] 118/151: Fix minor issues pointed out by "go vet".
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:59:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository obfs4proxy.
commit 6ba5b4921feb66eaa40e1fa4056c7fb81e29f157
Author: Yawning Angel <yawning at torproject.org>
Date: Fri Oct 24 22:02:23 2014 +0000
Fix minor issues pointed out by "go vet".
---
transports/obfs4/handshake_ntor_test.go | 6 +++---
1 file 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 {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfs4proxy.git
More information about the Pkg-privacy-commits
mailing list