Explorar o código

Fix: missing argument to t.Fatalf

Rod Hynes %!s(int64=7) %!d(string=hai) anos
pai
achega
2cfce07ccd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      psiphon/common/fragmentor/fragmentor_test.go

+ 1 - 1
psiphon/common/fragmentor/fragmentor_test.go

@@ -38,7 +38,7 @@ func TestFragmentor(t *testing.T) {
 
 	listener, err := net.Listen("tcp", "127.0.0.1:0")
 	if err != nil {
-		t.Fatalf("net.Listen failed: %s")
+		t.Fatalf("net.Listen failed: %s", err)
 	}
 
 	address := listener.Addr().String()