Sfoglia il codice sorgente

Fix: missing argument to t.Fatalf

Rod Hynes 7 anni fa
parent
commit
2cfce07ccd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()