Browse Source

brontide test: fix go 1.15 vet check

master
Johan T. Halseth 4 years ago
parent
commit
8ca5342b37
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
  1. 2
      brontide/noise_test.go

2
brontide/noise_test.go

@ -110,7 +110,7 @@ func TestConnectionCorrectness(t *testing.T) {
// Test out some message full-message reads.
for i := 0; i < 10; i++ {
msg := []byte("hello" + string(i))
msg := []byte(fmt.Sprintf("hello%d", i))
if _, err := localConn.Write(msg); err != nil {
t.Fatalf("remote conn failed to write: %v", err)

Loading…
Cancel
Save